diff options
author | Shirish Pargaonkar <shirishpargaonkar@gmail.com> | 2011-02-21 23:56:59 -0600 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-05-19 14:10:47 +0000 |
commit | 9b6763e0aacf245b58687a372816a0a4aabf2b1e (patch) | |
tree | b1595d080c61890897da843605d665f8d1a4e525 /fs/cifs/cifsfs.c | |
parent | 61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf (diff) |
cifs: Remove unused inode number while fetching root inode
ino is unused in function cifs_root_iget().
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 5c412b33cd7..0742c269ef1 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -163,7 +163,7 @@ cifs_read_super(struct super_block *sb, void *data, sb->s_bdi = &cifs_sb->bdi; sb->s_blocksize = CIFS_MAX_MSGSIZE; sb->s_blocksize_bits = 14; /* default 2**14 = CIFS_MAX_MSGSIZE */ - inode = cifs_root_iget(sb, ROOT_I); + inode = cifs_root_iget(sb); if (IS_ERR(inode)) { rc = PTR_ERR(inode); |