diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-07-08 14:25:04 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-07-29 20:10:07 -0400 |
commit | 668ed92e651d3c25f9b6e8cb7ceca54d00daa96d (patch) | |
tree | dcca90f48461852185ce6b0e50b8de40bf88a439 /fs/nfsd/nfsfh.c | |
parent | 2e6c6e4c4375bfd3defa5b1ff3604d9f33d1c936 (diff) |
NFSD: WARN when freeing an item still linked via nf_lru
Add a guardrail to prevent freeing memory that is still on a list.
This includes either a dispose list or the LRU list.
This is the sign of a bug, but this class of bugs can be detected
so that they don't endanger system stability, especially while
debugging.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfsfh.c')
0 files changed, 0 insertions, 0 deletions