summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_file.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-11-30 09:17:15 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2008-01-25 09:08:20 +0100
commitdbee2199c37336e89060fbe9abdfd1ca8454372a (patch)
tree9005d78b7e6064016b8bc6c8ab8ae79442eb80ff /fs/gfs2/ops_file.c
parent[GFS2] patch to check for recursive lock requests in gfs2_rename code path (diff)
downloadlinux-dbee2199c37336e89060fbe9abdfd1ca8454372a.tar.xz
linux-dbee2199c37336e89060fbe9abdfd1ca8454372a.zip
[GFS2] Remove unused variable
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
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)
static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
{
struct gfs2_inode *ip = GFS2_I(file->f_mapping->host);
- struct gfs2_sbd *sdp = GFS2_SB(file->f_mapping->host);
if (!(fl->fl_flags & FL_FLOCK))
return -ENOLCK;