Skip to content

Commit

Permalink
GFS2: Remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
Steven Whitehouse committed Jun 3, 2009
1 parent a12af1e commit e09f944
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/gfs2/file.c
Original file line number Diff line number Diff line change
@@ -694,8 +694,6 @@ static void do_unflock(struct file *file, struct file_lock *fl)

static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
{
struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);

if (!(fl->fl_flags & FL_FLOCK))
return -ENOLCK;
if (fl->fl_type & LOCK_MAND)

0 comments on commit e09f944

Please sign in to comment.