Al Viro 73a09dd943 introduce FMODE_CREATED and switch to it
Parallel to FILE_CREATED, goes into ->f_mode instead of *opened.
NFS is a bit of a wart here - it doesn't have file at the point
where FILE_CREATED used to be set, so we need to propagate it
there (for now).  IMA is another one (here and everywhere)...

Note that this needs do_dentry_open() to leave old bits in ->f_mode
alone - we want it to preserve FMODE_CREATED if it had been already
set (no other bit can be there).

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2018-07-12 10:04:18 -04:00
..
2018-06-13 07:32:10 -07:00
2018-06-06 08:16:33 -07:00
2018-06-11 18:15:22 -07:00
2018-06-15 18:10:01 -03:00
2018-06-10 13:01:12 -07:00
2018-06-11 18:19:45 -07:00
2018-06-06 09:08:38 -07:00
2018-06-12 10:09:03 -07:00
2018-06-17 05:00:24 +09:00
2018-06-15 18:10:01 -03:00