aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorGeyslan G. Bem <geyslan@gmail.com>2013-09-28 19:32:16 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2013-11-23 17:10:31 -0500
commit08e15f2df3496f8b2f83bc0a9c10dff89f044358 (patch)
tree883d91563a0e82b42803fafd99854045d1a205b0 /fs/9p
parent5d62a378ffff85ac9e581c228a9b505fb486e697 (diff)
9p: remove unused 'super_block' struct pointer
Get rid of the useless '*sb' variable. Signed-off-by: Geyslan G. Bem <geyslan@gmail.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 4e65aa903345..5bbb5a02116f 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -779,7 +779,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
779 unsigned int flags) 779 unsigned int flags)
780{ 780{
781 struct dentry *res; 781 struct dentry *res;
782 struct super_block *sb;
783 struct v9fs_session_info *v9ses; 782 struct v9fs_session_info *v9ses;
784 struct p9_fid *dfid, *fid; 783 struct p9_fid *dfid, *fid;
785 struct inode *inode; 784 struct inode *inode;
@@ -791,7 +790,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
791 if (dentry->d_name.len > NAME_MAX) 790 if (dentry->d_name.len > NAME_MAX)
792 return ERR_PTR(-ENAMETOOLONG); 791 return ERR_PTR(-ENAMETOOLONG);
793 792
794 sb = dir->i_sb;
795 v9ses = v9fs_inode2v9ses(dir); 793 v9ses = v9fs_inode2v9ses(dir);
796 /* We can walk d_parent because we hold the dir->i_mutex */ 794 /* We can walk d_parent because we hold the dir->i_mutex */
797 dfid = v9fs_fid_lookup(dentry->d_parent); 795 dfid = v9fs_fid_lookup(dentry->d_parent);