diff options
author | 2021-02-11 15:04:35 -0500 | |
---|---|---|
committer | 2021-03-12 22:15:19 -0500 | |
commit | 4ab5260dab28109979a1b47a8996c9922219927f (patch) | |
tree | 05f8487a30f398b3faf014d0d0860aa4108bf769 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: be careful with inode refresh (diff) | |
download | wireguard-linux-4ab5260dab28109979a1b47a8996c9922219927f.tar.xz wireguard-linux-4ab5260dab28109979a1b47a8996c9922219927f.zip |
do_cifs_create(): don't set ->i_mode of something we had not created
If the file had existed before we'd called ->atomic_open() (without
O_EXCL, that is), we have no more business setting ->i_mode than
we would setting ->i_uid or ->i_gid. We also have no business
doing either if another client has managed to get unlink+mkdir
between ->open() and cifs_inode_get_info().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions