diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 5 | ||||
| -rw-r--r-- | include/linux/namei.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index cca191933ff6..7e3012e0ac06 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1624,8 +1624,6 @@ struct super_operations { | |||
| 1624 | * on the bit address once it is done. | 1624 | * on the bit address once it is done. |
| 1625 | * | 1625 | * |
| 1626 | * Q: What is the difference between I_WILL_FREE and I_FREEING? | 1626 | * Q: What is the difference between I_WILL_FREE and I_FREEING? |
| 1627 | * Q: igrab() only checks on (I_FREEING|I_WILL_FREE). Should it also check on | ||
| 1628 | * I_CLEAR? If not, why? | ||
| 1629 | */ | 1627 | */ |
| 1630 | #define I_DIRTY_SYNC 1 | 1628 | #define I_DIRTY_SYNC 1 |
| 1631 | #define I_DIRTY_DATASYNC 2 | 1629 | #define I_DIRTY_DATASYNC 2 |
| @@ -2464,5 +2462,8 @@ int proc_nr_files(struct ctl_table *table, int write, | |||
| 2464 | 2462 | ||
| 2465 | int __init get_filesystem_list(char *buf); | 2463 | int __init get_filesystem_list(char *buf); |
| 2466 | 2464 | ||
| 2465 | #define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE]) | ||
| 2466 | #define OPEN_FMODE(flag) ((__force fmode_t)((flag + 1) & O_ACCMODE)) | ||
| 2467 | |||
| 2467 | #endif /* __KERNEL__ */ | 2468 | #endif /* __KERNEL__ */ |
| 2468 | #endif /* _LINUX_FS_H */ | 2469 | #endif /* _LINUX_FS_H */ |
diff --git a/include/linux/namei.h b/include/linux/namei.h index 028946750289..05b441d93642 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h | |||
| @@ -72,8 +72,6 @@ extern int vfs_path_lookup(struct dentry *, struct vfsmount *, | |||
| 72 | 72 | ||
| 73 | extern struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry *dentry, | 73 | extern struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry *dentry, |
| 74 | int (*open)(struct inode *, struct file *)); | 74 | int (*open)(struct inode *, struct file *)); |
| 75 | extern struct file *nameidata_to_filp(struct nameidata *nd, int flags); | ||
| 76 | extern void release_open_intent(struct nameidata *); | ||
| 77 | 75 | ||
| 78 | extern struct dentry *lookup_one_len(const char *, struct dentry *, int); | 76 | extern struct dentry *lookup_one_len(const char *, struct dentry *, int); |
| 79 | 77 | ||
