projects/linux·commit e89bbd3a

[PATCH] remove iattr.ia_attr_flags

e89bbd3a · Miklos Szeredi <[email protected]> · 2005-09-06 15:18:21 -07:00

Remove unused ia_attr_flags from struct iattr, and related defines.

Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
e89bbd3a0b3c054d9a94feb0db7bbae1cdb99e54
Parents
c320aa54

Changes

2 files changed · +0 −11

FileStatusAddDelContent
fs/hostfs/hostfs.hmodified+0−1View file
include/linux/fs.hmodified+0−10View file

fs/hostfs/hostfs.h

View file
diff --git a/fs/hostfs/hostfs.h b/fs/hostfs/hostfs.h
index 67bca0d..cca3fb6 100644
--- a/fs/hostfs/hostfs.h
+++ b/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

View file
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2036747..57e294b 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -281,19 +281,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>