NFSv4.1/pnfs: Refactor pnfs_set_layoutcommit()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 26 Mar 2015 00:40:38 +0000 (20:40 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:39:36 +0000 (12:39 -0400)
commit67af7611ec57dbcbc96f9d9daa4d3c7b0999aa73
treec6e73a08bf6268767dc7494df5ccbb423288b952
parent29559b11aef072f893cd32280dcec9d7380ca011
NFSv4.1/pnfs: Refactor pnfs_set_layoutcommit()

pnfs_set_layoutcommit() and pnfs_commit_set_layoutcommit() are 100% identical
except for the function arguments. Refactor to eliminate the difference.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h