[PATCH] remove iattr.ia_attr_flags
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>
This commit is contained in:
Родитель
c320aa545b
Коммит
e89bbd3a0b
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче