From: Trond Myklebust Date: Thu, 21 Jul 2016 18:45:19 +0000 (-0400) Subject: pNFS: Remove redundant stateid invalidation X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=28c1acffead59a461e552708cc9daa9c1cb5a085;p=linux-beck.git pNFS: Remove redundant stateid invalidation The layout stateid will be invalidated once it holds no more layout segments anyway. Signed-off-by: Trond Myklebust --- 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);