aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r--fs/gfs2/ops_file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index db76ac1947e7..2569c13eb108 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -700,7 +700,6 @@ static void do_unflock(struct file *file, struct file_lock *fl)
700static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) 700static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
701{ 701{
702 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); 702 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
703 struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
704 703
705 if (!(fl->fl_flags & FL_FLOCK)) 704 if (!(fl->fl_flags & FL_FLOCK))
706 return -ENOLCK; 705 return -ENOLCK;