f2fs: Check zoned block feature for host-managed zoned block devices
authorDamien Le Moal <damien.lemoal@wdc.com>
Fri, 28 Oct 2016 08:45:01 +0000 (17:45 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:17 +0000 (12:11 -0800)
commitd1b959c8770260b611b9a1f0c5e8b12b7cb5b9d2
tree4c2d67d68d3ca591b7a6d90d7057a3910e9ed392
parent0bfd7a091c19132489a0f977b8dbf9f6b5ae0a1c
f2fs: Check zoned block feature for host-managed zoned block devices

The F2FS_FEATURE_BLKZONED feature indicates that the drive was formatted
 with zone alignment optimization. This is optional for host-aware
devices, but mandatory for host-managed zoned block devices.
So check that the feature is set in this latter case.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c