summaryrefslogtreecommitdiffstats
path: root/fs/affs/affs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-06-08 07:22:00 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-06-12 03:36:14 +0200
commitc475879556a8602bbe2faa9a06f6e5fcc8c05bb2 (patch)
tree9d7e4882a08171d1ff1b84e3f02d3e604756815b /fs/affs/affs.h
parentrepair bfs_write_inode(), switch bfs to simple_fsync() (diff)
downloadlinux-c475879556a8602bbe2faa9a06f6e5fcc8c05bb2.tar.xz
linux-c475879556a8602bbe2faa9a06f6e5fcc8c05bb2.zip
sanitize ->fsync() for affs
unfortunately, for affs (especially for affs directories) we have no real way to keep track of metadata ownership. So we have to do more or less what file_fsync() does, but we do *not* need to call write_super() there. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/affs.h')
-rw-r--r--fs/affs/affs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h
index 1a2d5e3c7f4e..e511dc621a2e 100644
--- a/fs/affs/affs.h
+++ b/fs/affs/affs.h
@@ -182,6 +182,7 @@ extern int affs_add_entry(struct inode *dir, struct inode *inode, struct dent
void affs_free_prealloc(struct inode *inode);
extern void affs_truncate(struct inode *);
+int affs_file_fsync(struct file *, struct dentry *, int);
/* dir.c */