diff options
author | Christoph Hellwig <hch@tuxera.com> | 2010-11-23 08:38:10 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-11-23 08:38:10 -0500 |
commit | eb29d66d4f2dc98a81ae590bbdddc8cfa8964d73 (patch) | |
tree | f1e2f9bc9bd92bf978d2bcf54b536a9a6b188667 /fs/hfsplus/hfsplus_fs.h | |
parent | 281469766bdde2d14bc73e1fec347e6dd7f63319 (diff) |
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.h | 1 |
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 *); | |||
352 | int hfsplus_cat_write_inode(struct inode *); | 352 | int hfsplus_cat_write_inode(struct inode *); |
353 | struct inode *hfsplus_new_inode(struct super_block *, int); | 353 | struct inode *hfsplus_new_inode(struct super_block *, int); |
354 | void hfsplus_delete_inode(struct inode *); | 354 | void hfsplus_delete_inode(struct inode *); |
355 | int hfsplus_file_fsync(struct file *file, int datasync); | ||
355 | 356 | ||
356 | /* ioctl.c */ | 357 | /* ioctl.c */ |
357 | long hfsplus_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); | 358 | long hfsplus_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); |