Skip to content

Commit

Permalink
[PATCH] remove iattr.ia_attr_flags
Browse files Browse the repository at this point in the history
Remove unused ia_attr_flags from struct iattr, and related defines.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Sep 7, 2005
1 parent c320aa5 commit e89bbd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion fs/hostfs/hostfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 0 additions & 10 deletions include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,18 +281,8 @@ 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.
*/
Expand Down

0 comments on commit e89bbd3

Please sign in to comment.