diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-19 23:00:50 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-19 23:01:53 -0500 |
commit | c740624989eb87fa7cbd1b5338cef01dd49f1f29 (patch) | |
tree | d4dfd24836846b5e4d1dff1826ae1e1474bafcc4 /fs/nfs/pnfs.c | |
parent | c2126157ea3c4f72b315749e0c07a1b162a2fe2b (diff) | |
download | linux-stable-c740624989eb87fa7cbd1b5338cef01dd49f1f29.tar.gz linux-stable-c740624989eb87fa7cbd1b5338cef01dd49f1f29.tar.bz2 linux-stable-c740624989eb87fa7cbd1b5338cef01dd49f1f29.zip |
pNFS: Fix an unused variable warning in pnfs_roc_get_barrier
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index e101a491e4e7..8a3f30b695e2 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1150,7 +1150,6 @@ void pnfs_roc_get_barrier(struct inode *ino, u32 *barrier) { struct nfs_inode *nfsi = NFS_I(ino); struct pnfs_layout_hdr *lo; - nfs4_stateid stateid; u32 current_seqid; spin_lock(&ino->i_lock); @@ -1161,7 +1160,6 @@ void pnfs_roc_get_barrier(struct inode *ino, u32 *barrier) * a barrier, we choose the worst-case barrier. */ *barrier = current_seqid + atomic_read(&lo->plh_outstanding); - stateid = lo->plh_stateid; spin_unlock(&ino->i_lock); } |