From: Maxim Patlasov Date: Thu, 26 Dec 2013 15:51:11 +0000 (+0400) Subject: fuse: Trust kernel i_mtime only X-Git-Tag: v3.15-rc1~94^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0aa760652179072119582375f8dc896ed5b5dfd;p=pandora-kernel.git 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. Signed-off-by: Maxim Patlasov Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed