summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-06-03 11:07:44 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2009-06-03 11:07:44 +0200
commite09f9446b94ac64b27d37e98c1110f29d712cdad (patch)
treeed5877fa59b61ccce7fa4b6d53b327f43453408f /fs/gfs2/file.c
parentGFS2: smbd proccess hangs with flock() call. (diff)
downloadlinux-e09f9446b94ac64b27d37e98c1110f29d712cdad.tar.xz
linux-e09f9446b94ac64b27d37e98c1110f29d712cdad.zip
GFS2: Remove unused variable
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/gfs2/file.c2
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)
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)