diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-01-03 20:52:48 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-01-03 21:53:25 -0500 |
commit | b0f7e2d739b4aac131ea1662d086a07775097b05 (patch) | |
tree | 7a1f33babe77d7c8b07d0d206e2c85477c366eca /scripts/gdb/linux/utils.py | |
parent | fd56cd5f6d76e93356d9520cf9dabffe1e3d1aa0 (diff) |
eventfs: Remove "lookup" parameter from create_dir/file_dentry()
The "lookup" parameter is a way to differentiate the call to
create_file/dir_dentry() from when it's just a lookup (no need to up the
dentry refcount) and accessed via a readdir (need to up the refcount).
But reality, it just makes the code more complex. Just up the refcount and
let the caller decide to dput() the result or not.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Ajay Kaher <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions