f2fs: potential shift wrapping buf in f2fs_trim_fs()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Sep 2014 11:39:17 +0000 (14:39 +0300)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 30 Sep 2014 22:34:56 +0000 (15:34 -0700)
commit8a21984d5d86540ba32b4b346d8fe6426018b7a7
treef74aef0bfae8cd51e3efea3d2c003ab84a71699b
parent44c16156512f33c81e382a1e1df9524e26a7026a
f2fs: potential shift wrapping buf in f2fs_trim_fs()

My static checker complains that segment is a u64 but only the lower 31
bits can be used before we hit a shift wrapping bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h