summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/hfsplus_fs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@tuxera.com>2010-11-23 14:38:10 +0100
committerChristoph Hellwig <hch@lst.de>2010-11-23 14:38:10 +0100
commiteb29d66d4f2dc98a81ae590bbdddc8cfa8964d73 (patch)
treef1e2f9bc9bd92bf978d2bcf54b536a9a6b188667 /fs/hfsplus/hfsplus_fs.h
parenthfsplus: simplify fsync (diff)
downloadlinux-eb29d66d4f2dc98a81ae590bbdddc8cfa8964d73.tar.xz
linux-eb29d66d4f2dc98a81ae590bbdddc8cfa8964d73.zip
hfsplus: write up fsync for directories
fsync is supposed to not just work on regular files, but also on directories. Fortunately enough hfsplus_file_fsync works just fine for directories, so we can just wire it up. Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
-rw-r--r--fs/hfsplus/hfsplus_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h
index 0d8532d96694..625549579e9e 100644
--- a/fs/hfsplus/hfsplus_fs.h
+++ b/fs/hfsplus/hfsplus_fs.h
@@ -352,6 +352,7 @@ int hfsplus_cat_read_inode(struct inode *, struct hfs_find_data *);
int hfsplus_cat_write_inode(struct inode *);
struct inode *hfsplus_new_inode(struct super_block *, int);
void hfsplus_delete_inode(struct inode *);
+int hfsplus_file_fsync(struct file *file, int datasync);
/* ioctl.c */
long hfsplus_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);