NFSv4.1: Pin the inode and super block in asynchronous layoutreturns
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 5 Feb 2015 21:35:16 +0000 (16:35 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 6 Feb 2015 03:16:45 +0000 (22:16 -0500)
commit5a0ec8acb945e302ce819b4a9787796ccf284548
treeda14a82a655160b85440bc6981b91e25f9303299
parent472e259449819d939b5a5188b6f4c7d59aa4304c
NFSv4.1: Pin the inode and super block in asynchronous layoutreturns

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

Cc: Peng Tao <tao.peng@primarydata.com>
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