Message ID | 1292437907-21823-1-git-send-email-bhalevy@panasas.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
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 = {