summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-02-11 06:13:03 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-03-13 06:15:20 +0300
commit3bcb39b086bf8d7c3cff013564f86162ec497d90 (patch)
treefd242a8f4b39060cb0fa7ba8ac19f2ffd94548f6 /tools/perf/scripts/python/stackcollapse.py
parent4ab5260dab28109979a1b47a8996c9922219927f (diff)
downloadlinux-3bcb39b086bf8d7c3cff013564f86162ec497d90.tar.xz
cifs: have ->mkdir() handle race with another client sanely
if we have mkdir request reported successful *and* simulating lookup gets us a non-directory (which is possible if another client has managed to get rmdir and create in between), the sane action is not to mangle ->i_mode of non-directory inode to S_IFDIR | mode, it's "report success and return with dentry negative unhashed" - that way the next lookup will do the right thing. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions