Skip to content

Commit 4cdfffc

Browse files
NeilBrowntorvalds
authored andcommitted
vfs: discard ATTR_ATTR_FLAG
This flag was introduce in 2.1.37pre1 and the only place it was tested was removed in 2.1.43pre1. The flag was never set. Let's discard it properly. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: NeilBrown <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 6cd00a0 commit 4cdfffc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

fs/hostfs/hostfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define HOSTFS_ATTR_ATIME_SET 128
2020
#define HOSTFS_ATTR_MTIME_SET 256
2121

22-
/* These two are unused by hostfs. */
22+
/* This one is unused by hostfs. */
2323
#define HOSTFS_ATTR_FORCE 512 /* Not a change, but a change it */
2424
#define HOSTFS_ATTR_ATTR_FLAG 1024
2525

include/linux/fs.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
179179
#define ATTR_ATIME_SET (1 << 7)
180180
#define ATTR_MTIME_SET (1 << 8)
181181
#define ATTR_FORCE (1 << 9) /* Not a change, but a change it */
182-
#define ATTR_ATTR_FLAG (1 << 10)
183182
#define ATTR_KILL_SUID (1 << 11)
184183
#define ATTR_KILL_SGID (1 << 12)
185184
#define ATTR_FILE (1 << 13)

0 commit comments

Comments
 (0)