diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-21 14:45:19 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 16:16:42 -0400 |
commit | 28c1acffead59a461e552708cc9daa9c1cb5a085 (patch) | |
tree | 42987ced6bcc03271a0fbf69d44b5568e6e79594 /fs | |
parent | f71dfe8fc947e04a9e3d10723d4ec4c5c44ce0f5 (diff) |
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')
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
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); |