[PATCH] erofs: using switch-case while checking the inode type.

2019-08-30 Thread Pratik Shinde
while filling the linux inode, using switch-case statement to check the type of inode. switch-case statement looks more clean here. Signed-off-by: Pratik Shinde --- fs/erofs/inode.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/fs/erofs/inode.c b/fs

[PATCH] staging: erofs: using switch-case while checking the inode type.

2019-08-29 Thread Pratik Shinde
while filling the linux inode, using switch-case statement to check the type of inode. switch-case statement looks more clean. Signed-off-by: Pratik Shinde --- drivers/staging/erofs/inode.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging

[PATCH] staging: erofs: removing an extra call to iloc() in fill_inode()

2019-08-13 Thread Pratik Shinde
in fill_inode() we call iloc() twice.Avoiding the extra call by storing the result. Signed-off-by: Pratik Shinde --- drivers/staging/erofs/inode.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/erofs/inode.c b/drivers/staging/erofs/inode.c index

[PATCH v4] staging: erofs:converting all 'unsigned' to 'unsigned int'

2019-07-15 Thread Pratik Shinde
Fixed checkpatch warnings: converting all 'unsigned' to 'unsigned int' Signed-off-by: Pratik Shinde Reviewed-by: Gao Xiang --- drivers/staging/erofs/internal.h | 7 --- drivers/staging/erofs/unzip_pagevec.h | 11 ++- drivers/staging/erofs/unzip_vle.h | 8

[PATCH] staging: erofs:converting all 'unsigned' to 'unsigned int'

2019-07-15 Thread Pratik Shinde
Fixed checkpatch warnings: converting all 'unsigned' to 'unsigned int' Signed-off-by: Pratik Shinde --- drivers/staging/erofs/internal.h | 7 --- drivers/staging/erofs/unzip_pagevec.h | 11 ++- drivers/staging/erofs/unzip_vle.h | 8 drivers/staging/erofs/xattr.h

[PATCH v3] staging: erofs:converting all 'unsigned' to 'unsigned int'

2019-07-15 Thread Pratik Shinde
Fixed check patch warnings: converting all 'unsigned' to 'unsigned int' Signed-off-by: Pratik Shinde --- drivers/staging/erofs/internal.h | 7 --- drivers/staging/erofs/unzip_pagevec.h | 11 ++- drivers/staging/erofs/unzip_vle.h | 8 drivers/staging/erofs/xattr.h

[PATCH] staging: erofs:converting all 'unsigned' to 'unsigned int'

2019-07-14 Thread Pratik Shinde
Fixed check patch warnings: converting all 'unsigned' to 'unsigned int' Signed-off-by: Pratik Shinde --- drivers/staging/erofs/internal.h | 7 --- drivers/staging/erofs/unzip_pagevec.h | 11 ++- drivers/staging/erofs/unzip_vle.h | 8 drivers/staging/erofs/xattr.h

[PATCH] Staging: erofs:converting all 'unsigned' to 'unsigned int'

2019-07-14 Thread Pratik Shinde
Fixing checkpath warnings : converting all 'unsigned' to 'unsigned int' Signed-off-by: Pratik Shinde --- drivers/staging/erofs/internal.h | 6 +++--- drivers/staging/erofs/unzip_pagevec.h | 10 +- drivers/staging/erofs/unzip_vle.h | 8 drivers/staging/erofs/xattr.h