rather than on any close. --- fs/nfs/nfs4state.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 6a1eb41..dc62928 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c @@ -622,6 +622,7 @@ static void __nfs4_close(struct path *path, struct nfs4_state *state, u32 roc_iomode; struct nfs_inode *nfsi = NFS_I(state->inode); + /* FIXME: should return the layout only on last close */ if (has_layout(nfsi) && (roc_iomode = pnfs_layout_roc_iomode(nfsi)) != 0) { struct pnfs_layout_range range = { -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html