提交 532490f0 编写于 作者: M Miklos Szeredi 提交者: Al Viro

vfs: remove unused MNT_STRICTATIME

Commit d0adde57 added MNT_STRICTATIME
but it isn't actually used (MS_STRICTATIME clears MNT_RELATIME and
MNT_NOATIME rather than setting any mount flag).
Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 8df9d1a4
...@@ -788,7 +788,6 @@ static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) ...@@ -788,7 +788,6 @@ static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
{ MNT_NOATIME, ",noatime" }, { MNT_NOATIME, ",noatime" },
{ MNT_NODIRATIME, ",nodiratime" }, { MNT_NODIRATIME, ",nodiratime" },
{ MNT_RELATIME, ",relatime" }, { MNT_RELATIME, ",relatime" },
{ MNT_STRICTATIME, ",strictatime" },
{ 0, NULL } { 0, NULL }
}; };
const struct proc_fs_info *fs_infop; const struct proc_fs_info *fs_infop;
......
...@@ -27,7 +27,6 @@ struct mnt_namespace; ...@@ -27,7 +27,6 @@ struct mnt_namespace;
#define MNT_NODIRATIME 0x10 #define MNT_NODIRATIME 0x10
#define MNT_RELATIME 0x20 #define MNT_RELATIME 0x20
#define MNT_READONLY 0x40 /* does the user want this to be r/o? */ #define MNT_READONLY 0x40 /* does the user want this to be r/o? */
#define MNT_STRICTATIME 0x80
#define MNT_SHRINKABLE 0x100 #define MNT_SHRINKABLE 0x100
#define MNT_WRITE_HOLD 0x200 #define MNT_WRITE_HOLD 0x200
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册