Commit 11673b2a authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Chuck Lever
Browse files

nfsd: don't assume copy notify when preprocessing the stateid



Move the stateid handling to nfsd4_copy_notify.
If nfs4_preprocess_stateid_op did not produce an output stateid, error out.

Copy notify specifically does not permit the use of special stateids,
so enforce that outside generic stateid pre-processing.

Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Reviewed-by: default avatarOlga Kornievskaia <aglo@umich.edu>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 3391fc92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment