Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gfs2: Remove unnecessary check in gfs2_evict_inode

We are no longer using LM_FLAG_TRY or LM_FLAG_TRY_1CB during inode
evict, so ret cannot be GLR_TRYFAILED here.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>

+1 -1
+1 -1
fs/gfs2/super.c
··· 1420 1420 if (gfs2_rs_active(&ip->i_res)) 1421 1421 gfs2_rs_deltree(&ip->i_res); 1422 1422 1423 - if (ret && ret != GLR_TRYFAILED && ret != -EROFS) 1423 + if (ret && ret != -EROFS) 1424 1424 fs_warn(sdp, "gfs2_evict_inode: %d\n", ret); 1425 1425 out: 1426 1426 if (gfs2_holder_initialized(&gh))