Loading fs/nfs/nfs4_fs.h +2 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,8 @@ struct nfs4_minor_version_ops { void (*free_lock_state)(struct nfs_server *, struct nfs4_lock_state *); int (*test_and_free_expired)(struct nfs_server *, nfs4_stateid *, const struct cred *); const nfs4_stateid *, const struct cred *); struct nfs_seqid * (*alloc_seqid)(struct nfs_seqid_counter *, gfp_t); void (*session_trunk)(struct rpc_clnt *clnt, Loading fs/nfs/nfs4proc.c +12 −12 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp, const struct cred *cred, struct nfs4_slot *slot, bool is_privileged); static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *, static int nfs41_test_stateid(struct nfs_server *, const nfs4_stateid *, const struct cred *); static int nfs41_free_stateid(struct nfs_server *, const nfs4_stateid *, const struct cred *, bool); Loading Loading @@ -2875,7 +2875,7 @@ static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *st } static int nfs40_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { return -NFS4ERR_BAD_STATEID; Loading @@ -2883,7 +2883,7 @@ static int nfs40_test_and_free_expired_stateid(struct nfs_server *server, #if defined(CONFIG_NFS_V4_1) static int nfs41_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { int status; Loading Loading @@ -10386,12 +10386,12 @@ nfs41_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, } static int _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { int status; struct nfs41_test_stateid_args args = { .stateid = stateid, .stateid = *stateid, }; struct nfs41_test_stateid_res res; struct rpc_message msg = { Loading Loading @@ -10447,7 +10447,7 @@ static void nfs4_handle_delay_or_session_error(struct nfs_server *server, * failed or the state ID is not currently valid. */ static int nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { struct nfs4_exception exception = { Loading fs/nfs/nfs4xdr.c +1 −1 Original line number Diff line number Diff line Loading @@ -2137,7 +2137,7 @@ static void encode_test_stateid(struct xdr_stream *xdr, { encode_op_hdr(xdr, OP_TEST_STATEID, decode_test_stateid_maxsz, hdr); encode_uint32(xdr, 1); encode_nfs4_stateid(xdr, args->stateid); encode_nfs4_stateid(xdr, &args->stateid); } static void encode_free_stateid(struct xdr_stream *xdr, Loading include/linux/nfs_xdr.h +1 −1 Original line number Diff line number Diff line Loading @@ -1438,7 +1438,7 @@ struct nfs41_secinfo_no_name_args { struct nfs41_test_stateid_args { struct nfs4_sequence_args seq_args; nfs4_stateid *stateid; nfs4_stateid stateid; }; struct nfs41_test_stateid_res { Loading Loading
fs/nfs/nfs4_fs.h +2 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,8 @@ struct nfs4_minor_version_ops { void (*free_lock_state)(struct nfs_server *, struct nfs4_lock_state *); int (*test_and_free_expired)(struct nfs_server *, nfs4_stateid *, const struct cred *); const nfs4_stateid *, const struct cred *); struct nfs_seqid * (*alloc_seqid)(struct nfs_seqid_counter *, gfp_t); void (*session_trunk)(struct rpc_clnt *clnt, Loading
fs/nfs/nfs4proc.c +12 −12 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ static struct rpc_task *_nfs41_proc_sequence(struct nfs_client *clp, const struct cred *cred, struct nfs4_slot *slot, bool is_privileged); static int nfs41_test_stateid(struct nfs_server *, nfs4_stateid *, static int nfs41_test_stateid(struct nfs_server *, const nfs4_stateid *, const struct cred *); static int nfs41_free_stateid(struct nfs_server *, const nfs4_stateid *, const struct cred *, bool); Loading Loading @@ -2875,7 +2875,7 @@ static int nfs40_open_expired(struct nfs4_state_owner *sp, struct nfs4_state *st } static int nfs40_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { return -NFS4ERR_BAD_STATEID; Loading @@ -2883,7 +2883,7 @@ static int nfs40_test_and_free_expired_stateid(struct nfs_server *server, #if defined(CONFIG_NFS_V4_1) static int nfs41_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { int status; Loading Loading @@ -10386,12 +10386,12 @@ nfs41_find_root_sec(struct nfs_server *server, struct nfs_fh *fhandle, } static int _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { int status; struct nfs41_test_stateid_args args = { .stateid = stateid, .stateid = *stateid, }; struct nfs41_test_stateid_res res; struct rpc_message msg = { Loading Loading @@ -10447,7 +10447,7 @@ static void nfs4_handle_delay_or_session_error(struct nfs_server *server, * failed or the state ID is not currently valid. */ static int nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const nfs4_stateid *stateid, const struct cred *cred) { struct nfs4_exception exception = { Loading
fs/nfs/nfs4xdr.c +1 −1 Original line number Diff line number Diff line Loading @@ -2137,7 +2137,7 @@ static void encode_test_stateid(struct xdr_stream *xdr, { encode_op_hdr(xdr, OP_TEST_STATEID, decode_test_stateid_maxsz, hdr); encode_uint32(xdr, 1); encode_nfs4_stateid(xdr, args->stateid); encode_nfs4_stateid(xdr, &args->stateid); } static void encode_free_stateid(struct xdr_stream *xdr, Loading
include/linux/nfs_xdr.h +1 −1 Original line number Diff line number Diff line Loading @@ -1438,7 +1438,7 @@ struct nfs41_secinfo_no_name_args { struct nfs41_test_stateid_args { struct nfs4_sequence_args seq_args; nfs4_stateid *stateid; nfs4_stateid stateid; }; struct nfs41_test_stateid_res { Loading