aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2024-01-03 20:52:48 -0500
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-01-03 21:53:25 -0500
commitb0f7e2d739b4aac131ea1662d086a07775097b05 (patch)
tree7a1f33babe77d7c8b07d0d206e2c85477c366eca /scripts/gdb/linux/tasks.py
parentfd56cd5f6d76e93356d9520cf9dabffe1e3d1aa0 (diff)
downloadlinux-b0f7e2d739b4aac131ea1662d086a07775097b05.tar.gz
linux-b0f7e2d739b4aac131ea1662d086a07775097b05.tar.bz2
linux-b0f7e2d739b4aac131ea1662d086a07775097b05.zip
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/20240103102553.17a19cea@gandalf.local.home Link: https://lore.kernel.org/linux-trace-kernel/20240104015435.517502710@goodmis.org Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Ajay Kaher <akaher@vmware.com> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions