diff options
author | Guoqing Jiang <guoqing.jiang@linux.dev> | 2024-08-21 22:03:18 +0800 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-09-20 19:31:03 -0400 |
commit | d078cbf5c38de83bc31f83c47dcd2184c04a50c7 (patch) | |
tree | eb6da0d10591eab12c89485f93d5ee37bdcbf51f /scripts/gdb/linux/timerlist.py | |
parent | ba017fd391e05aba3d8a96c06d0287ffeeb8458c (diff) |
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 <guoqing.jiang@linux.dev>
Reviwed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions