summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/super.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@tuxera.com>2010-10-01 05:43:58 +0200
committerChristoph Hellwig <hch@lst.de>2010-10-01 05:43:58 +0200
commit66e5db05bb6670f314d90aba5998e6a033e4d563 (patch)
tree66bae4889f95b20521d890e4dda944672663aa50 /fs/hfsplus/super.c
parentf17c89bfcc9cccd405098eac3ec1ebfddf03279e (diff)
downloadop-kernel-dev-66e5db05bb6670f314d90aba5998e6a033e4d563.zip
op-kernel-dev-66e5db05bb6670f314d90aba5998e6a033e4d563.tar.gz
hfsplus: do not cache and write next_alloc
We never look at it, nor change the next_alloc field in the superblock. So don't bother caching it or writing it out in hfsplus_sync_fs. Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r--fs/hfsplus/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index e485a38..f310a1f 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -164,7 +164,6 @@ int hfsplus_sync_fs(struct super_block *sb, int wait)
sb->s_dirt = 0;
vhdr->free_blocks = cpu_to_be32(sbi->free_blocks);
- vhdr->next_alloc = cpu_to_be32(sbi->next_alloc);
vhdr->next_cnid = cpu_to_be32(sbi->next_cnid);
vhdr->folder_count = cpu_to_be32(sbi->folder_count);
vhdr->file_count = cpu_to_be32(sbi->file_count);
@@ -355,7 +354,6 @@ static int hfsplus_fill_super(struct super_block *sb, void *data, int silent)
}
sbi->total_blocks = be32_to_cpu(vhdr->total_blocks);
sbi->free_blocks = be32_to_cpu(vhdr->free_blocks);
- sbi->next_alloc = be32_to_cpu(vhdr->next_alloc);
sbi->next_cnid = be32_to_cpu(vhdr->next_cnid);
sbi->file_count = be32_to_cpu(vhdr->file_count);
sbi->folder_count = be32_to_cpu(vhdr->folder_count);
OpenPOWER on IntegriCloud