NFSv4.1: Pin the inode and super block in asynchronous layoutcommit
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 5 Feb 2015 21:50:30 +0000 (16:50 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 6 Feb 2015 03:16:33 +0000 (22:16 -0500)
commit472e259449819d939b5a5188b6f4c7d59aa4304c
tree8ba4fa5bd74f3fccf84ebdea8f63b6c85b921466
parentea7c38fef0b774a5dc16fb0ca5935f0ae8568176
NFSv4.1: Pin the inode and super block in asynchronous layoutcommit

If we're sending an asynchronous layoutcommit, then we need to ensure
that the inode and the super block remain pinned.

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