projects
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nilfs2: mark S_NOATIME on inodes only if NOATIME attribute is set
[linux.git]
/
fs
/
nilfs2
/
inode.c
diff --git
a/fs/nilfs2/inode.c
b/fs/nilfs2/inode.c
index f61f80c7f7ccf7e6f22b5440f691b76167eb7119..2e6ac8e9203a616569a7e48aeadfaa90939af626 100644
(file)
--- a/
fs/nilfs2/inode.c
+++ b/
fs/nilfs2/inode.c
@@
-365,9
+365,7
@@
void nilfs_set_inode_flags(struct inode *inode)
inode->i_flags |= S_APPEND;
if (flags & FS_IMMUTABLE_FL)
inode->i_flags |= S_IMMUTABLE;
-#ifndef NILFS_ATIME_DISABLE
if (flags & FS_NOATIME_FL)
-#endif
inode->i_flags |= S_NOATIME;
if (flags & FS_DIRSYNC_FL)
inode->i_flags |= S_DIRSYNC;