gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn
[sfrench/cifs-2.6.git] / fs / gfs2 / file.c
index 03902e780935289cfe3e059c17f1f5027c5b1261..992ca4effb505ec2936a403ea31fac4391cba76e 100644 (file)
@@ -1442,7 +1442,7 @@ static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl)
 
        if (!(fl->fl_flags & FL_POSIX))
                return -ENOLCK;
-       if (gfs2_withdrawn(sdp)) {
+       if (gfs2_withdrawing_or_withdrawn(sdp)) {
                if (fl->fl_type == F_UNLCK)
                        locks_lock_file_wait(file, fl);
                return -EIO;