nfs41: add a helper function to set layoutcommit after commit
authorPeng Tao <tao.peng@primarydata.com>
Thu, 7 Aug 2014 02:15:02 +0000 (10:15 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:00 +0000 (12:47 -0700)
commit378520b837cf4da769600b83690d8e825f16a611
treeb2561ec480dbfb3e5b481a64aa5ba031d86d04b1
parent61beef75cc5bae119e500c9f25daad8596c7cbe4
nfs41: add a helper function to set layoutcommit after commit

Track lwb in nfs_commit_data so that we can use it to setup
layoutcommit in commit_done callback.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h
fs/nfs/write.c
include/linux/nfs_xdr.h