f2fs: fix sparse warnings
authorEric Biggers <ebiggers@google.com>
Tue, 11 Oct 2016 17:36:12 +0000 (10:36 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:10:57 +0000 (12:10 -0800)
commit0c0b471e43e7acf0747c6eb410863bf78c14750d
tree21711c32abd717f6b28ad52c5e17d43b2ec38cc5
parent9de69279750e9740bc7221c7051a40c0516a58fb
f2fs: fix sparse warnings

f2fs contained a number of endianness conversion bugs.

Also, one function should have been 'static'.

Found with sparse by running 'make C=2 CF=-D__CHECK_ENDIAN__ fs/f2fs/'

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/dir.c
fs/f2fs/inline.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/segment.c