]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: improve utimes support
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 18 Oct 2007 10:07:01 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:30 +0000 (14:37 -0700)
commitb79555c09d5c97acbb60944de29ae0809522a9d9
tree9b8148b29cb2c776cd96278c0710a890054a2b78
parent7b11e9d395040f1e9c4b8475da3b752c4c0f1354
fuse: improve utimes support

Add two new flags for setattr: FATTR_ATIME_NOW and FATTR_MTIME_NOW.  These
mean, that atime or mtime should be changed to the current time.

Also it is now possible to update atime or mtime individually, not just
together.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dir.c
include/linux/fuse.h