aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorGravatar Trond Myklebust <trond.myklebust@primarydata.com> 2016-07-21 14:45:19 -0400
committerGravatar Trond Myklebust <trond.myklebust@primarydata.com> 2016-07-24 16:16:42 -0400
commit28c1acffead59a461e552708cc9daa9c1cb5a085 (patch)
tree42987ced6bcc03271a0fbf69d44b5568e6e79594 /fs/nfs/pnfs.c
parentpNFS: Remove redundant pnfs_mark_layout_returned_if_empty() (diff)
downloadlinux-28c1acffead59a461e552708cc9daa9c1cb5a085.tar.gz
linux-28c1acffead59a461e552708cc9daa9c1cb5a085.tar.bz2
linux-28c1acffead59a461e552708cc9daa9c1cb5a085.zip
pNFS: Remove redundant stateid invalidation
The layout stateid will be invalidated once it holds no more layout segments anyway. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r--fs/nfs/pnfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index 49e952968ede..c9a684c128b8 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -1040,7 +1040,6 @@ _pnfs_return_layout(struct inode *ino)
goto out_put_layout_hdr;
}
- set_bit(NFS_LAYOUT_INVALID_STID, &lo->plh_flags);
send = pnfs_prepare_layoutreturn(lo, &stateid, NULL);
spin_unlock(&ino->i_lock);
pnfs_free_lseg_list(&tmp_list);