diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-11-22 15:20:16 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:34:31 +0200 |
| commit | b6a714ac60ba41bef222a28f21f33d5abbb1a9c2 (patch) | |
| tree | 8017564207bb3b4ba96704f304ab9048b2b4c62b /fs/f2fs/checkpoint.c | |
| parent | 7c5d77331132b777d79c8e32a041e1d9fc2eaf69 (diff) | |
f2fs: fix 32-bit build
The addition of multiple-device support broke CONFIG_BLK_DEV_ZONED
on 32-bit machines because of a 64-bit division:
fs/f2fs/f2fs.o: In function `__issue_discard_async':
extent_cache.c:(.text.__issue_discard_async+0xd4): undefined reference to `__aeabi_uldivmod'
Unfortunately, the sector number is usually a 64-bit number, and
we guarantee that bdev_zone_size() returns a power-of-two number.
Fixes: 792b84b74b54 ("f2fs: support multiple devices")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
0 files changed, 0 insertions, 0 deletions
