diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-02-08 10:31:05 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-03-01 16:20:16 -0500 |
commit | 3eb86093ea400c58f444eac0debcf6c50d617418 (patch) | |
tree | 923b14cc86d91844139988708e37b184158446ae /fs/nfs/nfs4proc.c | |
parent | a79f194aa4879e9baad118c3f8bb2ca24dbef765 (diff) | |
download | linux-stable-3eb86093ea400c58f444eac0debcf6c50d617418.tar.gz linux-stable-3eb86093ea400c58f444eac0debcf6c50d617418.tar.bz2 linux-stable-3eb86093ea400c58f444eac0debcf6c50d617418.zip |
NFSv4.2: Add client support for the generic 'layouterror' RPC call
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 5b980246b035..73889ea7d196 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -9690,7 +9690,8 @@ static const struct nfs4_minor_version_ops nfs_v4_2_minor_ops = { | NFS_CAP_DEALLOCATE | NFS_CAP_SEEK | NFS_CAP_LAYOUTSTATS - | NFS_CAP_CLONE, + | NFS_CAP_CLONE + | NFS_CAP_LAYOUTERROR, .init_client = nfs41_init_client, .shutdown_client = nfs41_shutdown_client, .match_stateid = nfs41_match_stateid, |