Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pNFS: Fix an unused variable warning in pnfs_roc_get_barrier

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

-2
-2
fs/nfs/pnfs.c
··· 1150 1150 { 1151 1151 struct nfs_inode *nfsi = NFS_I(ino); 1152 1152 struct pnfs_layout_hdr *lo; 1153 - nfs4_stateid stateid; 1154 1153 u32 current_seqid; 1155 1154 1156 1155 spin_lock(&ino->i_lock); ··· 1160 1161 * a barrier, we choose the worst-case barrier. 1161 1162 */ 1162 1163 *barrier = current_seqid + atomic_read(&lo->plh_outstanding); 1163 - stateid = lo->plh_stateid; 1164 1164 spin_unlock(&ino->i_lock); 1165 1165 } 1166 1166