diff options
author | Christoph Hellwig <hch@tuxera.com> | 2010-11-23 14:38:10 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-11-23 14:38:10 +0100 |
commit | eb29d66d4f2dc98a81ae590bbdddc8cfa8964d73 (patch) | |
tree | f1e2f9bc9bd92bf978d2bcf54b536a9a6b188667 /fs/hfsplus/inode.c | |
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/inode.c')
-rw-r--r-- | fs/hfsplus/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index be68961da99..8cd8dc2e7fd 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c @@ -302,7 +302,7 @@ static int hfsplus_setattr(struct dentry *dentry, struct iattr *attr) return 0; } -static int hfsplus_file_fsync(struct file *file, int datasync) +int hfsplus_file_fsync(struct file *file, int datasync) { struct inode *inode = file->f_mapping->host; struct hfsplus_sb_info *sbi = HFSPLUS_SB(inode->i_sb); |