gfs2: Mark withdraws as unlikely
[linux-2.6-microblaze.git] / fs / gfs2 / file.c
index 4b66efc..03902e7 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 (unlikely(gfs2_withdrawn(sdp))) {
+       if (gfs2_withdrawn(sdp)) {
                if (fl->fl_type == F_UNLCK)
                        locks_lock_file_wait(file, fl);
                return -EIO;