aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2024-08-21 14:03:18 +0000
committerChuck Lever <[email protected]>2024-09-20 23:31:03 +0000
commitd078cbf5c38de83bc31f83c47dcd2184c04a50c7 (patch)
treeeb6da0d10591eab12c89485f93d5ee37bdcbf51f /fs/ext4/fast_commit.c
parentnfsd: add more nfsd_cb tracepoints (diff)
downloadkernel-d078cbf5c38de83bc31f83c47dcd2184c04a50c7.tar.gz
kernel-d078cbf5c38de83bc31f83c47dcd2184c04a50c7.zip
nfsd: call cache_put if xdr_reserve_space returns NULL
If not enough buffer space available, but idmap_lookup has triggered lookup_fn which calls cache_get and returns successfully. Then we missed to call cache_put here which pairs with cache_get. Fixes: ddd1ea563672 ("nfsd4: use xdr_reserve_space in attribute encoding") Signed-off-by: Guoqing Jiang <[email protected]> Reviwed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions