[PATCH] remove iattr.ia_attr_flags
Changes
2 files changed · +0 −11
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| fs/hostfs/hostfs.h | modified | +0 | −1 | View file |
| include/linux/fs.h | modified | +0 | −10 | View file |
fs/hostfs/hostfs.h
View filediff --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 filediff --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>