diff options
author | Sachin Bhamare <sbhamare@panasas.com> | 2012-03-30 14:29:59 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-26 12:15:51 -0400 |
commit | 9526b2b6d6b9f183b66cf21c4afa6e79d5a14f44 (patch) | |
tree | d06b4a2020bd96c6c8fcb9aa306ccd7c93445637 /fs/nfs | |
parent | 1aba1567637b93eee32253b42deaaad381c3175b (diff) | |
download | kernel_goldelico_gta04-9526b2b6d6b9f183b66cf21c4afa6e79d5a14f44.zip kernel_goldelico_gta04-9526b2b6d6b9f183b66cf21c4afa6e79d5a14f44.tar.gz kernel_goldelico_gta04-9526b2b6d6b9f183b66cf21c4afa6e79d5a14f44.tar.bz2 |
pnfs-obj: Remove unused variable from objlayout_get_deviceinfo()
Local variable 'sb' was not being used in objlayout_get_deviceinfo().
Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/objlayout/objlayout.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/objlayout/objlayout.c b/fs/nfs/objlayout/objlayout.c index 8d45f1c..595c5fc 100644 --- a/fs/nfs/objlayout/objlayout.c +++ b/fs/nfs/objlayout/objlayout.c @@ -604,7 +604,6 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay, { struct objlayout_deviceinfo *odi; struct pnfs_device pd; - struct super_block *sb; struct page *page, **pages; u32 *p; int err; @@ -623,7 +622,6 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay, pd.pglen = PAGE_SIZE; pd.mincount = 0; - sb = pnfslay->plh_inode->i_sb; err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd); dprintk("%s nfs_getdeviceinfo returned %d\n", __func__, err); if (err) |