]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.2: LAYOUTSTATS is optional to implement
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 27 Jun 2015 15:45:46 +0000 (11:45 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 27 Jun 2015 15:48:58 +0000 (11:48 -0400)
commit602c5cdbc865150bdd460ae35b80a9613323fbd8
tree67c0fa7f5c11a4288041a60280171f9c53d1f2ea
parent606ce82b7dcf4b1f50d112dfe539c94bf18440d3
NFSv4.2: LAYOUTSTATS is optional to implement

Make it so, by checking the return value for NFS4ERR_MOTSUPP and
caching the information as a server capability.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs42proc.c
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
include/linux/nfs_fs_sb.h