diff options
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r-- | fs/hfsplus/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 3dc62aa58728..4936642debaa 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c | |||
@@ -162,7 +162,7 @@ int hfsplus_sync_fs(struct super_block *sb, int wait) | |||
162 | 162 | ||
163 | dprint(DBG_SUPER, "hfsplus_write_super\n"); | 163 | dprint(DBG_SUPER, "hfsplus_write_super\n"); |
164 | 164 | ||
165 | lock_super(sb); | 165 | mutex_lock(&HFSPLUS_SB(sb).alloc_mutex); |
166 | sb->s_dirt = 0; | 166 | sb->s_dirt = 0; |
167 | 167 | ||
168 | vhdr->free_blocks = cpu_to_be32(HFSPLUS_SB(sb).free_blocks); | 168 | vhdr->free_blocks = cpu_to_be32(HFSPLUS_SB(sb).free_blocks); |
@@ -195,7 +195,7 @@ int hfsplus_sync_fs(struct super_block *sb, int wait) | |||
195 | } | 195 | } |
196 | HFSPLUS_SB(sb).flags &= ~HFSPLUS_SB_WRITEBACKUP; | 196 | HFSPLUS_SB(sb).flags &= ~HFSPLUS_SB_WRITEBACKUP; |
197 | } | 197 | } |
198 | unlock_super(sb); | 198 | mutex_unlock(&HFSPLUS_SB(sb).alloc_mutex); |
199 | return 0; | 199 | return 0; |
200 | } | 200 | } |
201 | 201 | ||