Skip to contentSkip to conversation

ia_attr_flags - time to die

PATCH In review Daniel Phillips 2 participants 3 messages Sep 2, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia_attr_flags - time to die

Struct iattr is not involved any more in such things as NOATIME inode flags. There are no in-tree users of ia_attr_flags.

Signed-off-by Daniel Phillips <[email protected]>

fs/hostfs/hostfs.h +0 -1
diff -up --recursive 2.6.13-rc5-mm1.clean/fs/hostfs/hostfs.h 2.6.13-rc5-mm1/fs/hostfs/hostfs.h
@@ -49,7 +49,6 @@ struct hostfs_iattr {
 	struct timespec	ia_atime;
 	struct timespec	ia_mtime;
 	struct timespec	ia_ctime;
-	unsigned int	ia_attr_flags;
 };
 
 extern int stat_file(const char *path, unsigned long long *inode_out,
include/linux/fs.h +0 -10
diff -up --recursive 2.6.13-rc5-mm1.clean/include/linux/fs.h 2.6.13-rc5-mm1/include/linux/fs.h
@@ -282,19 +282,9 @@ struct iattr {
 	struct timespec	ia_atime;
 	struct timespec	ia_mtime;
 	struct timespec	ia_ctime;
-	unsigned int	ia_attr_flags;
 };
 
 /*
- * This is the inode attributes flag definitions
- */
-#define ATTR_FLAG_SYNCRONOUS	1 	/* Syncronous write */
-#define ATTR_FLAG_NOATIME	2 	/* Don't update atime */
-#define ATTR_FLAG_APPEND	4 	/* Append-only file */
-#define ATTR_FLAG_IMMUTABLE	8 	/* Immutable file */
-#define ATTR_FLAG_NODIRATIME	16 	/* Don't update atime for directory */
-
-/*
  * Includes for diskquotas.
  */
 #include <linux/quota.h>
#2 lore raw
Quoted 5 lines · Miklos Szeredi

Already dead ;)

2.6.13-mm1: remove-ia_attr_flags.patch

Miklos

Wow, the pace of Linux development really is picking up. Now patches are applied before I even send them!

Regards,

Daniel