Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 82354dd7 authored by Maxim Patlasov's avatar Maxim Patlasov Committed by Gerrit - the friendly Code Review server
Browse files

fuse: Trust kernel i_mtime only



Let the kernel maintain i_mtime locally:
 - clear S_NOCMTIME
 - implement i_op->update_time()
 - flush mtime on fsync and last close
 - update i_mtime explicitly on truncate and fallocate

Fuse inode flag FUSE_I_MTIME_DIRTY serves as indication that local i_mtime
should be flushed to the server eventually.

Change-Id: I0db9f6faba551c88a618c4fddfff9b68338324cd
Signed-off-by: default avatarMaxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Git-commit:  b0aa760652179072119582375f8dc896ed5b5dfd
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent 1987e018
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment