linux/fs/fuse
Maxim Patlasov 75caeecdf9 fuse: update mtime on open(O_TRUNC) in atomic_o_trunc mode
In case of fc->atomic_o_trunc is set, fuse does nothing in
fuse_do_setattr() while handling open(O_TRUNC). Hence, i_mtime must be
updated explicitly in fuse_finish_open(). The patch also adds extra locking
encompassing open(O_TRUNC) operation to avoid races between the truncation
and updating i_mtime.

Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2014-04-28 14:19:22 +02:00
..
control.c fuse: add __exit to fuse_ctl_cleanup 2014-04-28 14:19:21 +02:00
cuse.c Nothing major: the stricter permissions checking for sysfs broke 2014-04-06 09:38:07 -07:00
dev.c pipe: kill ->map() and ->unmap() 2014-04-01 23:19:19 -04:00
dir.c fuse: update mtime on truncate(2) 2014-04-28 14:19:22 +02:00
file.c fuse: update mtime on open(O_TRUNC) in atomic_o_trunc mode 2014-04-28 14:19:22 +02:00
fuse_i.h fuse: add __exit to fuse_ctl_cleanup 2014-04-28 14:19:21 +02:00
inode.c fuse: do not use uninitialized i_mode 2014-04-28 14:19:21 +02:00
Kconfig fuse: Move CUSE Kconfig entry from fs/Kconfig into fs/fuse/Kconfig 2013-01-17 13:08:45 +01:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00