[PATCH v3 1/3] ubifs: add a superblock flag for free space fix-up

Artem Bityutskiy dedekind1 at gmail.com
Fri May 6 09:30:38 EDT 2011


On Thu, 2011-05-05 at 16:33 -0400, Matthew L. Creech wrote:
> The space_fixup flag can be set in the superblock of a new filesystem by
> mkfs.ubifs to indicate that any eraseblocks with free space remaining should be
> fixed-up the first time it's mounted (after which the flag is un-set).
> 
> Signed-off-by: Matthew L. Creech <mlcreech at gmail.com>

Hi, I've made the commit message a bit more verbose, and also added fre
comments into the code, for those who will try to figure out what the
flag means in the future. I've also fixed the patch because it is
line-wrapped. And I've applied this one to the ubifs-2.6.git tree to the
master branch.

> index f7515bd..3dce5f3 100644
> --- a/fs/ubifs/debug.c
> +++ b/fs/ubifs/debug.c
> @@ -316,6 +316,8 @@ void dbg_dump_node(const struct ubifs_info *c,
> const void *node)

This should be one line. Using git send-email could help to avoid this.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list