diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-02-18 01:07:13 +0300 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2026-03-30 04:25:09 +0300 |
| commit | bb2a70b610810874838f176a0d157d5cd0226c18 (patch) | |
| tree | af68677af37804a948b432a010b9f18dff7edde0 /include/linux/writeback.h | |
| parent | 5eae0e00dc4bdc5a56a1e5e405332622d0942e89 (diff) | |
| download | linux-bb2a70b610810874838f176a0d157d5cd0226c18.tar.xz | |
lockd: Hoist file_lock init out of nlm4svc_decode_shareargs()
The xdrgen-generated XDR decoders cannot initialize the
file_lock structure because it is an internal kernel type,
not part of the wire protocol. To prepare for converting
SHARE and UNSHARE procedures to use xdrgen, the file_lock
initialization must be moved from nlm4svc_decode_shareargs()
into the procedure handlers themselves.
This change removes one more dependency on the "struct
nlm_lock::fl" field in fs/lockd/xdr4.c, allowing the XDR
decoder to focus solely on unmarshalling wire data.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions
