Al Viro 4ab5260dab 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>
2021-03-12 22:15:19 -05:00
..
2020-10-22 12:17:52 -05:00
2020-06-01 00:10:18 -05:00
2021-01-28 21:40:43 -06:00
2020-06-01 00:10:18 -05:00
2021-03-08 10:19:35 -05:00
2020-07-09 10:06:52 -05:00
2020-12-14 09:16:22 -06:00
2021-01-24 14:27:20 +01:00
2020-08-02 18:00:25 -05:00
2020-10-19 15:11:11 -05:00
2019-01-24 09:37:33 -06:00
2021-01-24 14:27:17 +01:00