flexfiles: remove pointless setting of NFS_LAYOUT_RETURN_REQUESTED
authorJeff Layton <jlayton@poochiereds.net>
Tue, 17 May 2016 16:28:43 +0000 (12:28 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:11 +0000 (15:48 -0400)
commit094069f1d96f691637b5c335f5eb79566d2457ff
tree3c2fa9e37e2752489be261e9505adf7e88034e64
parent6d597e1750126a2c6fd99e4b2cc176955bb9972e
flexfiles: remove pointless setting of NFS_LAYOUT_RETURN_REQUESTED

Setting just the NFS_LAYOUT_RETURN_REQUESTED flag doesn't do anything,
unless there are lsegs that are also being marked for return. At the
point where that happens this flag is also set, so these set_bit calls
don't do anything useful.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayoutdev.c