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/dir.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/dir.c')
-rw-r--r-- | fs/hfsplus/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c index 9d59c0571f59..e44c78a837e8 100644 --- a/fs/hfsplus/dir.c +++ b/fs/hfsplus/dir.c | |||
@@ -485,6 +485,7 @@ const struct inode_operations hfsplus_dir_inode_operations = { | |||
485 | }; | 485 | }; |
486 | 486 | ||
487 | const struct file_operations hfsplus_dir_operations = { | 487 | const struct file_operations hfsplus_dir_operations = { |
488 | .fsync = hfsplus_file_fsync, | ||
488 | .read = generic_read_dir, | 489 | .read = generic_read_dir, |
489 | .readdir = hfsplus_readdir, | 490 | .readdir = hfsplus_readdir, |
490 | .unlocked_ioctl = hfsplus_ioctl, | 491 | .unlocked_ioctl = hfsplus_ioctl, |