diff options
author | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-12 15:28:02 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-12 15:28:02 +1100 |
commit | 4d9d4ebf5de848e3450e23e4db9ac74e23e5daa6 (patch) | |
tree | 2c6d2766054a925a42c1863e91fb5b8c6d0eb5cb /include | |
parent | cfbe52672fbc6f333892e8dde82c35e0a76aa5f5 (diff) | |
parent | c4cd747ee6c3ba1e7727878e3fce482d0d8c0136 (diff) |
Merge branch 'master' of git+ssh://git.melbourne.sgi.com/git/xfs
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 51bd9370d437..965b9ba3865d 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -81,6 +81,14 @@ extern int dir_notify_enable; #define FMODE_WRITE_IOCTL ((__force fmode_t)128) #define FMODE_NDELAY_NOW ((__force fmode_t)256) +/* + * Don't update ctime and mtime. + * + * Currently a special hack for the XFS open_by_handle ioctl, but we'll + * hopefully graduate it to a proper O_CMTIME flag supported by open(2) soon. + */ +#define FMODE_NOCMTIME ((__force fmode_t)2048) + #define RW_MASK 1 #define RWA_MASK 2 #define READ 0 |