Commit e89bbd3a authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Linus Torvalds

[PATCH] remove iattr.ia_attr_flags

Remove unused ia_attr_flags from struct iattr, and related defines.
Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c320aa54
...@@ -49,7 +49,6 @@ struct hostfs_iattr { ...@@ -49,7 +49,6 @@ struct hostfs_iattr {
struct timespec ia_atime; struct timespec ia_atime;
struct timespec ia_mtime; struct timespec ia_mtime;
struct timespec ia_ctime; struct timespec ia_ctime;
unsigned int ia_attr_flags;
}; };
extern int stat_file(const char *path, unsigned long long *inode_out, extern int stat_file(const char *path, unsigned long long *inode_out,
......
...@@ -281,18 +281,8 @@ struct iattr { ...@@ -281,18 +281,8 @@ struct iattr {
struct timespec ia_atime; struct timespec ia_atime;
struct timespec ia_mtime; struct timespec ia_mtime;
struct timespec ia_ctime; 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. * Includes for diskquotas.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment