hfsplus: integrate journal replay support into driver
Subsystems (2)
Vyacheslav Dubeyko
maintainerPATCH v3 15/15 hfsplus: integrate journal replay support into driver
From: Vyacheslav Dubeyko <[email protected]>
Subject: [PATCH v3 15/15] hfsplus: integrate journal replay support into driver
This patch integrates HFS+ journal replaying functionality into the file system driver.
Signed-off-by Vyacheslav Dubeyko <[email protected]>
CC Al Viro <[email protected]>
CC Christoph Hellwig <[email protected]>
CC Hin-Tak Leung <[email protected]>
--- fs/hfsplus/Makefile | 3 +- fs/hfsplus/hfsplus_fs.h | 5 +++ fs/hfsplus/super.c | 90 +++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 82 insertions(+), 16 deletions(-)
fs/hfsplus/Makefile +2 -1
@@ -6,6 +6,7 @@ obj-$(CONFIG_HFSPLUS_FS) += hfsplus.o hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \ bnode.o brec.o bfind.o tables.o unicode.o wrapper.o bitmap.o part_tbl.o \ - attributes.o xattr.o xattr_user.o xattr_security.o xattr_trusted.o + attributes.o xattr.o xattr_user.o xattr_security.o xattr_trusted.o \ + journal.o hfsplus-$(CONFIG_HFSPLUS_FS_POSIX_ACL) += posix_acl.o
fs/hfsplus/hfsplus_fs.h +5 -0
@@ -489,6 +489,11 @@ int hfsplus_free_fork(struct super_block *, u32,int hfsplus_file_extend (struct inode *);void hfsplus_file_truncate (struct inode *); +/* journal.c */ +int hfsplus_init_journal (struct super_block *sb); +void hfsplus_destroy_journal (struct super_block *sb); +int hfsplus_check_journal (struct super_block *sb); +/* inode.c */ extern const struct address_space_operations hfsplus_aops;extern const struct address_space_operations hfsplus_btree_aops;
fs/hfsplus/super.c +75 -15
149 lines not on this page · raw message
Signature · 1 line
1.7.9.5