diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-27 20:32:50 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-01-27 20:40:05 -0500 |
commit | 2370abdab530718b61afc222c51901bdc2884ee2 (patch) | |
tree | 42bcdef3d17c02ffdc65a376bdf6567ae09b45b7 /fs/nfs/flexfilelayout/flexfilelayout.c | |
parent | 13c13a6ad71f98c3b6189dfc89a9a743ab02a39a (diff) | |
download | op-kernel-dev-2370abdab530718b61afc222c51901bdc2884ee2.zip op-kernel-dev-2370abdab530718b61afc222c51901bdc2884ee2.tar.gz |
NFS: Cleanup - rename NFS_LAYOUT_RETURN_BEFORE_CLOSE
NFS_LAYOUT_RETURN_BEFORE_CLOSE is being used to signal that a
layoutreturn is needed, either due to a layout recall or to a
layout error. Rename it to NFS_LAYOUT_RETURN_REQUESTED in order
to clarify its purpose.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.c')
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout/flexfilelayout.c index 5bcd92d..0cb1abd 100644 --- a/fs/nfs/flexfilelayout/flexfilelayout.c +++ b/fs/nfs/flexfilelayout/flexfilelayout.c @@ -1215,7 +1215,7 @@ static int ff_layout_read_done_cb(struct rpc_task *task, hdr->pgio_mirror_idx + 1, &hdr->pgio_mirror_idx)) goto out_eagain; - set_bit(NFS_LAYOUT_RETURN_BEFORE_CLOSE, + set_bit(NFS_LAYOUT_RETURN_REQUESTED, &hdr->lseg->pls_layout->plh_flags); pnfs_read_resend_pnfs(hdr); return task->tk_status; |