]> www.infradead.org Git - qemu-nvme.git/commit
block/vvfat: Unify the mkdir() call
authorBin Meng <bin.meng@windriver.com>
Thu, 27 Oct 2022 18:36:19 +0000 (19:36 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 31 Oct 2022 20:37:58 +0000 (20:37 +0000)
commitc2632994e93eee2f165113f1c78775b113f99926
tree7b5ecbd1d3bfe46f20ab06d07ab54642509e1a0e
parenteb6b2edf8e1a5845c81f3c4da905f1f8bbc0dec3
block/vvfat: Unify the mkdir() call

There is a difference in the mkdir() call for win32 and non-win32
platforms, and currently is handled in the codes with #ifdefs.

glib provides a portable g_mkdir() API and we can use it to unify
the codes without #ifdefs.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221006151927.2079583-6-bmeng.cn@gmail.com>
Message-Id: <20221027183637.2772968-14-alex.bennee@linaro.org>
block/vvfat.c