ocfs2: Enable localalloc for local mounts
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 6 Feb 2008 20:11:17 +0000 (12:11 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 3 Mar 2008 23:50:21 +0000 (15:50 -0800)
Commit 2fbe8d1ebe004425b4f7b8bba345623d2280be82 disabled localalloc
for local mounts. This caused issues as ocfs2 uses localalloc to
provide write locality. This patch enables localalloc for local mounts.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/localalloc.c

index add1ffd..b1004b0 100644 (file)
@@ -120,9 +120,6 @@ int ocfs2_load_local_alloc(struct ocfs2_super *osb)
 
        mlog_entry_void();
 
-       if (ocfs2_mount_local(osb))
-               goto bail;
-
        if (osb->local_alloc_size == 0)
                goto bail;