OSDN Git Service

f2fs: fix to initialize min_mtime with ULLONG_MAX
authorChao Yu <yuchao0@huawei.com>
Tue, 15 May 2018 10:59:55 +0000 (18:59 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Jul 2018 00:30:08 +0000 (17:30 -0700)
commita5d0ccbc189a02a0931d7a3ee092d64f89d69f0f
tree20edad3bdfc83103372d6fbb4b4998c8ee3d103c
parent9bb4d22cf5de448a6d5ebad67f7b8a27c9eacd0a
f2fs: fix to initialize min_mtime with ULLONG_MAX

Since sit_i.min_mtime's type is unsigned long long, so we should
initialize it with max value of the type ULLONG_MAX instead of
LLONG_MAX.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c