Vyacheslav Dubeyko | 22 Jul 2012 17:13

[PATCH 2/2] nilfs-utils: add skeleton of fsck.nilfs2 is able to check signature magic in superblock only

Hi,

This patch adds functionality of fsck.nilfs2 skeleton that is capable to check signature magic in superblock only.

With the best regards,
Vyacheslav Dubeyko.
--
From: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ <at> public.gmane.org>
Subject: [PATCH 2/2] nilfs-utils: add skeleton of fsck.nilfs2 is able to check signature magic in superblock only

This patch adds functionality of fsck.nilfs2 skeleton that is capable to check signature magic in superblock only.

Signed-off-by: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ <at> public.gmane.org>
---
 sbin/fsck/Makefile.am        |   13 ++
 sbin/fsck/fsck_messages.c    |  254 ++++++++++++++++++++++++
 sbin/fsck/fsck_messages.def  |   62 ++++++
 sbin/fsck/fsck_messages.h    |  110 +++++++++++
 sbin/fsck/fsck_nilfs2.c      |  379 +++++++++++++++++++++++++++++++++++
 sbin/fsck/fsck_nilfs2.h      |   37 ++++
 sbin/fsck/fsck_raw_ops.c     |  413 +++++++++++++++++++++++++++++++++++++++
 sbin/fsck/fsck_raw_ops.h     |   46 +++++
 sbin/fsck/nilfs_superblock.c |  445 ++++++++++++++++++++++++++++++++++++++++++
 sbin/fsck/nilfs_superblock.h |   48 +++++
 10 files changed, 1807 insertions(+), 0 deletions(-)

diff --git a/sbin/fsck/Makefile.am b/sbin/fsck/Makefile.am
new file mode 100644
index 0000000..ed7916c
--- /dev/null
(Continue reading)

Ryusuke Konishi | 29 Jul 2012 11:30
Picon
Gravatar

Re: [PATCH 2/2] nilfs-utils: add skeleton of fsck.nilfs2 is able to check signature magic in superblock only

Hi
2012/7/23 Vyacheslav Dubeyko wrote:
> Hi,
>
> This patch adds functionality of fsck.nilfs2 skeleton that is capable to check signature magic in superblock only.
>
> With the best regards,
> Vyacheslav Dubeyko.
> --
> From: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ <at> public.gmane.org>
> Subject: [PATCH 2/2] nilfs-utils: add skeleton of fsck.nilfs2 is able to check signature magic in superblock only
>
> This patch adds functionality of fsck.nilfs2 skeleton that is capable to check signature magic in superblock only.
>
> Signed-off-by: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ <at> public.gmane.org>

First, try to fix coding style issues with checkpatch.pl script.
Although this is not a kernel code, it's helpful for related developers
if the source code fit the common coding style rules in some degree.
 (See <linux>/Documentation/CodingStyle  for details)

You can check it easily as follows:

$ cd nilfs-utils/sbin/fsck/
$ <path-to-linux-kernel-source-code>/scripts/checkpatch.pl --file *.c *.h

Note that you don't have to adhere to eliminate its errors/warnings
(ignore unreasonable warnings in case-by-case basis).


(Continue reading)


Gmane