On Fri, Nov 24, 2017 at 02:21:15PM +0900, Misono, Tomohiro wrote: > Currently, only the status of block devices is checked at mkfs, > but we should also check for regular files whether they are already > formatted or mounted to prevent overwrite accidentally. > > Device status is checked by test_dev_for_mkfs(). > The part which is not related to block device is split from this > and used for both block device and regular file. > > Signed-off-by: Tomohiro Misono <misono.tomoh...@jp.fujitsu.com>
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html