[PATCH 10/11] erofs: introduce error injection infrastructure

2018-06-21 Thread Chao Yu
Signed-off-by: Chao Yu --- fs/erofs/Kconfig| 6 + fs/erofs/inode.c| 3 ++- fs/erofs/internal.h | 56 + fs/erofs/super.c| 40 +++- 4 files changed, 103 insertions(+), 2 deletions(-) diff --git a/fs/erofs/Kconfig

[PATCH 08/11] erofs: support special inode

2018-06-21 Thread Chao Yu
This patch adds to support special inode, such as block dev, char, socket, pipe inode. Signed-off-by: Chao Yu --- fs/erofs/inode.c| 33 +++-- fs/erofs/internal.h | 1 + 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/fs/erofs/inode.c b/fs/erofs

[PATCH 07/11] erofs: remove unused EROFS_XATTR_INDEX_ADVISE

2018-06-21 Thread Chao Yu
EROFS_XATTR_INDEX_ADVISE is never used in anywhere of erofs, just remove it. Reviewed-by: Gao Xiang Signed-off-by: Chao Yu --- fs/erofs/erofs_fs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/erofs/erofs_fs.h b/fs/erofs/erofs_fs.h index 96feebc0bbec..fc92213c02e5 100644 --- a/fs/erofs

[PATCH RESEND 1/2] erofs: fix ifnullfree.cocci warnings

2018-06-21 Thread Chao Yu
From: kbuild test robot NULL check before kfree is not needed. Generated by: scripts/coccinelle/free/ifnullfree.cocci Fixes: 4f89dfc3f411 ("erofs: update Kconfig and Makefile") CC: Gao Xiang Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall Signed-off-by: Chao Yu ---

[PATCH RESEND 2/2] erofs: update SPDX-License-Identifier

2018-06-21 Thread Chao Yu
From: Gao Xiang Update the source code license to "GPLv2+" from patchset v2. (Could be updated suggested by Savannah in the future.) Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Signed-off-by: Chao Yu --- fs/erofs/data.c | 2 +- fs/erofs/dir.c | 2 +- fs/erofs/

<    2   3   4   5   6   7