From 6ce3ac5ab02ccf1139918a7508f42f6e4e6531d5 Mon Sep 17 00:00:00 2001 From: Sunil Mushran Date: Wed, 6 Feb 2008 12:11:17 -0800 Subject: [PATCH] ocfs2: Enable localalloc for local mounts Commit 7c000e22e25905dcd0816559ff0ed9b2daba2c81 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 Signed-off-by: Mark Fasheh --- fs/ocfs2/localalloc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index add1ffdc5c6c7..b1004b01a5fcf 100644 --- a/fs/ocfs2/localalloc.c +++ b/fs/ocfs2/localalloc.c @@ -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; -- 2.39.5