summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-07-21 14:45:19 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-07-24 16:16:42 -0400
commit28c1acffead59a461e552708cc9daa9c1cb5a085 (patch)
tree42987ced6bcc03271a0fbf69d44b5568e6e79594 /fs/nfs
parentf71dfe8fc947e04a9e3d10723d4ec4c5c44ce0f5 (diff)
downloadlwn-28c1acffead59a461e552708cc9daa9c1cb5a085.tar.gz
lwn-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')
-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);