Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/877en0hewz.fsf@notabene.neil.brown.name
Signed-off-by: NeilBrown <neilb@suse.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

NeilBrown and committed by
Linus Torvalds
4cdfffc8 6cd00a01

+1 -2
+1 -1
fs/hostfs/hostfs.h
··· 19 19 #define HOSTFS_ATTR_ATIME_SET 128 20 20 #define HOSTFS_ATTR_MTIME_SET 256 21 21 22 - /* These two are unused by hostfs. */ 22 + /* This one is unused by hostfs. */ 23 23 #define HOSTFS_ATTR_FORCE 512 /* Not a change, but a change it */ 24 24 #define HOSTFS_ATTR_ATTR_FLAG 1024 25 25
-1
include/linux/fs.h
··· 179 179 #define ATTR_ATIME_SET (1 << 7) 180 180 #define ATTR_MTIME_SET (1 << 8) 181 181 #define ATTR_FORCE (1 << 9) /* Not a change, but a change it */ 182 - #define ATTR_ATTR_FLAG (1 << 10) 183 182 #define ATTR_KILL_SUID (1 << 11) 184 183 #define ATTR_KILL_SGID (1 << 12) 185 184 #define ATTR_FILE (1 << 13)