]> 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)
commit8feda51ea77a2684a2d793395385df3e5ea9eff9
tree67c0fa7f5c11a4288041a60280171f9c53d1f2ea
parent35c83a0acb75237f3f4ee30e7dd121b03fc1277c
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