From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yong Subject: [RFC PATCH v2 0/9] f2fs-tools: fix fix_on usage and introduce dump/print xattr Date: Thu, 2 Nov 2017 11:56:03 +0800 Message-ID: <20171102035612.217263-1-shengyong1@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1eA6cL-0002qr-7m for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Nov 2017 03:56:33 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1eA6cK-00015q-6J for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Nov 2017 03:56:33 +0000 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: jaegeuk@kernel.org, yuchao0@huawei.com Cc: shengyong1@huawei.com, linux-f2fs-devel@lists.sourceforge.net v1-v2: [PATCH 3] print values of USER/SECRUITY xattr as hex instead of plain text. [PATCH 4] replace xattr value if it already exists by setting parameter `flags' as 0 of fsetxattr. [PATCH 1/7] move message printing modification into a different patch. thanks, Sheng Sheng Yong (9): fsck.f2fs: do not set fix_on directly fsck.f2fs: do not fix corrupted nat entries in build_nat_area_bitmap dump/fsck: introduce print_xattr_entry dump.f2fs: introduce dump_xattr dump.f2fs: do not dump encrypted files fsck.f2fs: introduce new option --dry-run fsck.f2fs: introduce sanity_check_inode f2fs-tools: remove unused list.h fsck.f2fs: format output message of FIX_MSG fsck/dump.c | 93 ++++++++++++++++++++++++++++------ fsck/fsck.c | 25 +++++++++- fsck/fsck.h | 7 ++- fsck/main.c | 16 +++++- fsck/mount.c | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++---- fsck/xattr.c | 2 +- fsck/xattr.h | 54 +++++++++++++++++++- include/f2fs_fs.h | 1 + include/list.h | 88 -------------------------------- lib/libf2fs.c | 1 + lib/libf2fs_io.c | 3 ++ 11 files changed, 313 insertions(+), 123 deletions(-) delete mode 100644 include/list.h -- 2.11.0 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot