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

Skip to content
Commit 78041c00 authored by Keith Mok's avatar Keith Mok Committed by Gerrit Code Review
Browse files

fs_mgr: When formating f2fs volumes, respect the length parameter

When formatting a volume because it is marked as formattable, the
length parameter is discarded which makes fs_mgr write a filesystem
to the full length of the block device.

This patch adds length semantics to f2fs formatting, if the length
is greater than zero, use that, if it isn't subtract that size
from the block size.

Change-Id: I526f80aa299e7b34e9802141e7fa7050d5cb5558
Ticket: SAMBAR-729
parent ae52f273
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment