mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
GFS2: Remove unused variable
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
a12af1ebe6
commit
e09f9446b9
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue