f2fs: fix endian conversion bugs reported by sparse
This patch should resolve the bugs reported by the sparse tool. Initial reports were written by "kbuild test robot" managed by fengguang.wu. In my local machines, I've tested also by running: > make C=2 CF="-D__CHECK_ENDIAN__" Accordingly, I've found lots of warnings and bugs related to the endian conversion. And I've fixed all at this moment. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
static LIST_HEAD(f2fs_stat_list);
|
||||
static struct dentry *debugfs_root;
|
||||
|
||||
void update_general_status(struct f2fs_sb_info *sbi)
|
||||
static void update_general_status(struct f2fs_sb_info *sbi)
|
||||
{
|
||||
struct f2fs_stat_info *si = sbi->stat_info;
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user