X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fgfs2%2Fglops.c;h=07d84d16cda4365eac465f375d22497414d0c988;hb=e616c6303306df62223ebe2e68bb2f19c420dd81;hp=d31badadef8f929bd5e5bec992cf7c717b674ddb;hpb=e675349e2bdbfb661fa0d8ff2441b4cf48fb7e48;p=linux-2.6 diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c index d31badadef..07d84d16cd 100644 --- a/fs/gfs2/glops.c +++ b/fs/gfs2/glops.c @@ -249,7 +249,7 @@ static int inode_go_lock(struct gfs2_holder *gh) struct gfs2_inode *ip = gl->gl_object; int error = 0; - if (!ip) + if (!ip || (gh->gh_flags & GL_SKIP)) return 0; if (test_bit(GIF_INVALID, &ip->i_flags)) {