summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-10-08 17:00:01 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-10-08 17:00:01 +0200
commitf334bcd94b7d3c0fbc34d518a86548f451ab5faf (patch)
tree357b0cbd488db581bc9bf710c3696579d21fac03 /fs/internal.h
parentMerge branch 'work.const-qstr' into work.misc (diff)
parentvfat: don't use ->d_time (diff)
downloadlinux-f334bcd94b7d3c0fbc34d518a86548f451ab5faf.tar.xz
linux-f334bcd94b7d3c0fbc34d518a86548f451ab5faf.zip
Merge remote-tracking branch 'ovl/misc' into work.misc
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 395887882315..18cfde9066a0 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -120,6 +120,15 @@ extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
extern void inode_add_lru(struct inode *inode);
extern int dentry_needs_remove_privs(struct dentry *dentry);
+extern bool __atime_needs_update(const struct path *, struct inode *, bool);
+static inline bool atime_needs_update_rcu(const struct path *path,
+ struct inode *inode)
+{
+ return __atime_needs_update(path, inode, true);
+}
+
+extern bool atime_needs_update_rcu(const struct path *, struct inode *);
+
/*
* fs-writeback.c
*/