diff options
Diffstat (limited to 'fs/gfs2/file.c')
-rw-r--r-- | fs/gfs2/file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 841ddc979388..73318a3ce6f1 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c | |||
@@ -694,8 +694,6 @@ static void do_unflock(struct file *file, struct file_lock *fl) | |||
694 | 694 | ||
695 | static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) | 695 | static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) |
696 | { | 696 | { |
697 | struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); | ||
698 | |||
699 | if (!(fl->fl_flags & FL_FLOCK)) | 697 | if (!(fl->fl_flags & FL_FLOCK)) |
700 | return -ENOLCK; | 698 | return -ENOLCK; |
701 | if (fl->fl_type & LOCK_MAND) | 699 | if (fl->fl_type & LOCK_MAND) |