aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/lib/test_modules_helpers.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-11-20 18:51:06 -0500
committerSteven Rostedt (Google) <[email protected]>2023-11-20 19:01:54 -0500
commit88903daecacf03b1e5636e1b5f18bda5b07030fc (patch)
tree9dea509b6b08ddf80736bccb7a7b3ffb95bfa9fe /arch/s390/lib/test_modules_helpers.c
parent98b1cc82c4affc16f5598d4fa14b1858671b2263 (diff)
eventfs: Remove expectation that ei->is_freed means ei->dentry == NULL
The logic to free the eventfs_inode (ei) use to set is_freed and clear the "dentry" field under the eventfs_mutex. But that changed when a race was found where the ei->dentry needed to be cleared when the last dput() was called on it. But there was still logic that checked if ei->dentry was not NULL and is_freed is set, and would warn if it was. But since that situation was changed and the ei->dentry isn't cleared until the last dput() is called on it while the ei->is_freed is set, do not test for that condition anymore, and change the comments to reflect that. Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Andrew Morton <[email protected]> Fixes: 020010fbfa20 ("eventfs: Delete eventfs_inode when the last dentry is freed") Reported-by: Mark Rutland <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions