RE: [PATCH 02/16 v2] f2fs: add on-disk layout

From: Jaegeuk Kim
Date: Tue Oct 23 2012 - 03:08:33 EST


> 2012/10/23 Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>:
> > This adds a header file describing the on-disk layout of f2fs.
> >
> > Signed-off-by: Changman Lee <cm224.lee@xxxxxxxxxxx>
> > Signed-off-by: Chul Lee <chur.lee@xxxxxxxxxxx>
> > Signed-off-by: Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>
> > ---
> > include/linux/f2fs_fs.h | 362 +++++++++++++++++++++++++++++++++++++++++++++++
> > 1 file changed, 362 insertions(+)
> > create mode 100644 include/linux/f2fs_fs.h
> >
> > diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
> > new file mode 100644
> > index 0000000..bd9c217
> > --- /dev/null
> > +++ b/include/linux/f2fs_fs.h
> > @@ -0,0 +1,362 @@
> > +/**
> > + * include/linux/f2fs_fs.h
>
> Is this file used by user space?

Currently, no.
But, later, I'll use this file in format and fsck tools.

>
> > + *
> > + * Copyright (c) 2012 Samsung Electronics Co., Ltd.
> > + * http://www.samsung.com/
> > + *
> > + * This program is free software; you can redistribute it and/or modify
> > + * it under the terms of the GNU General Public License version 2 as
> > + * published by the Free Software Foundation.
> > + */
> > +#ifndef _LINUX_F2FS_FS_H
> > +#define _LINUX_F2FS_FS_H
> > +
> > +#include <linux/pagemap.h>
> > +#include <linux/types.h>
> > +
> > +#define F2FS_SUPER_MAGIC 0xF2F52010
>
> In magic.h please.

Ok, thank you.

>
> Marco


---
Jaegeuk Kim
Samsung


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/