From 45e098ab382b3a40d0674c38e77b8bed78e7bf81 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 1 Oct 2010 05:41:50 +0200 Subject: [PATCH] --- yaml --- r: 211570 b: refs/heads/master c: a9fdbf8c6070d49c482e209df7ee93d9ec41ea27 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/hfsplus/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a064f75e875f..2148ed7fcc5e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 40bf48afe92fcea61e7e164f0b2599fba8b88124 +refs/heads/master: a9fdbf8c6070d49c482e209df7ee93d9ec41ea27 diff --git a/trunk/fs/hfsplus/super.c b/trunk/fs/hfsplus/super.c index 3dc62aa58728..4936642debaa 100644 --- a/trunk/fs/hfsplus/super.c +++ b/trunk/fs/hfsplus/super.c @@ -162,7 +162,7 @@ int hfsplus_sync_fs(struct super_block *sb, int wait) dprint(DBG_SUPER, "hfsplus_write_super\n"); - lock_super(sb); + mutex_lock(&HFSPLUS_SB(sb).alloc_mutex); sb->s_dirt = 0; 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) } HFSPLUS_SB(sb).flags &= ~HFSPLUS_SB_WRITEBACKUP; } - unlock_super(sb); + mutex_unlock(&HFSPLUS_SB(sb).alloc_mutex); return 0; }