Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ad8b3d3 authored by Sunil Mushran's avatar Sunil Mushran Committed by Mark Fasheh
Browse files

ocfs2: Enable localalloc for local mounts



Commit 2fbe8d1e 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: default avatarSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 976dde01
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -120,9 +120,6 @@ int ocfs2_load_local_alloc(struct ocfs2_super *osb)


	mlog_entry_void();
	mlog_entry_void();


	if (ocfs2_mount_local(osb))
		goto bail;

	if (osb->local_alloc_size == 0)
	if (osb->local_alloc_size == 0)
		goto bail;
		goto bail;