diff options
| author | Miklos Szeredi <mszeredi@suse.cz> | 2007-10-18 06:07:01 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:30 -0400 |
| commit | 17637cbaba592076c221dc045ca78422b4af6290 (patch) | |
| tree | 9b8148b29cb2c776cd96278c0710a890054a2b78 /include/linux | |
| parent | d139d7ffd0c1e81e2a809909b4f8b121a0dc119a (diff) | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fuse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index a50d0d9ac7..43a77d7334 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h | |||
| @@ -83,6 +83,8 @@ struct fuse_file_lock { | |||
| 83 | #define FATTR_ATIME (1 << 4) | 83 | #define FATTR_ATIME (1 << 4) |
| 84 | #define FATTR_MTIME (1 << 5) | 84 | #define FATTR_MTIME (1 << 5) |
| 85 | #define FATTR_FH (1 << 6) | 85 | #define FATTR_FH (1 << 6) |
| 86 | #define FATTR_ATIME_NOW (1 << 7) | ||
| 87 | #define FATTR_MTIME_NOW (1 << 8) | ||
| 86 | 88 | ||
| 87 | /** | 89 | /** |
| 88 | * Flags returned by the OPEN request | 90 | * Flags returned by the OPEN request |
