aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2023-03-15 22:34:34 +0000
committerAl Viro <[email protected]>2023-04-21 02:37:05 +0000
commit9bc37e04823b5280dd0f22b6680fc23fe81ca325 (patch)
tree1245ba4968615c26a692b4d294acac30dd66db81 /tools/perf/scripts/python/sctop.py
parentksmbd: remove internal.h include (diff)
downloadkernel-9bc37e04823b5280dd0f22b6680fc23fe81ca325.tar.gz
kernel-9bc37e04823b5280dd0f22b6680fc23fe81ca325.zip
fs: introduce lock_rename_child() helper
Pass the dentry of a source file and the dentry of a destination directory to lock parent inodes for rename. As soon as this function returns, ->d_parent of the source file dentry is stable and inodes are properly locked for calling vfs-rename. This helper is needed for ksmbd server. rename request of SMB protocol has to rename an opened file, no matter which directory it's in. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions