mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
nfs: nfs4xdr: change RESERVE_SPACE macro into a static helper
In order to open code and expose the result pointer assignment. Alternatively, we can open code the call to xdr_reserve_space and do the BUG_ON an the error case at the call site. Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
2220f13a8b
commit
13c65ce900
1 changed files with 65 additions and 73 deletions
138
fs/nfs/nfs4xdr.c
138
fs/nfs/nfs4xdr.c
Loading…
Add table
Add a link
Reference in a new issue