diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1feee2e7e47b..85c5656756b6 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -235,9 +235,6 @@ struct kstatfs; | |||
235 | struct vm_area_struct; | 235 | struct vm_area_struct; |
236 | struct vfsmount; | 236 | struct vfsmount; |
237 | 237 | ||
238 | /* Used to be a macro which just called the function, now just a function */ | ||
239 | extern void update_atime (struct inode *); | ||
240 | |||
241 | extern void __init inode_init(unsigned long); | 238 | extern void __init inode_init(unsigned long); |
242 | extern void __init inode_init_early(void); | 239 | extern void __init inode_init_early(void); |
243 | extern void __init mnt_init(unsigned long); | 240 | extern void __init mnt_init(unsigned long); |
@@ -1118,12 +1115,7 @@ static inline void mark_inode_dirty_sync(struct inode *inode) | |||
1118 | __mark_inode_dirty(inode, I_DIRTY_SYNC); | 1115 | __mark_inode_dirty(inode, I_DIRTY_SYNC); |
1119 | } | 1116 | } |
1120 | 1117 | ||
1121 | static inline void touch_atime(struct vfsmount *mnt, struct dentry *dentry) | 1118 | extern void touch_atime(struct vfsmount *mnt, struct dentry *dentry); |
1122 | { | ||
1123 | /* per-mountpoint checks will go here */ | ||
1124 | update_atime(dentry->d_inode); | ||
1125 | } | ||
1126 | |||
1127 | static inline void file_accessed(struct file *file) | 1119 | static inline void file_accessed(struct file *file) |
1128 | { | 1120 | { |
1129 | if (!(file->f_flags & O_NOATIME)) | 1121 | if (!(file->f_flags & O_NOATIME)) |