hfsplus: don't set REQ_SYNC for hfsplus_submit_bio()
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 10 Jul 2025 06:35:53 +0000 (08:35 +0200)
committerViacheslav Dubeyko <slava@dubeyko.com>
Fri, 25 Jul 2025 22:20:06 +0000 (15:20 -0700)
commit4c6a567cb8e8e0eb7fc559e8cecbae7d83aaafbb
tree1b2e1e54698560c0aa3d06e904c85f22a1df5ffc
parentfcb96956c921f1aae7e7b477f2435c56f77a31b4
hfsplus: don't set REQ_SYNC for hfsplus_submit_bio()

hfsplus_submit_bio() called by hfsplus_sync_fs() uses bdev_virt_rw() which
in turn uses submit_bio_wait() to submit the BIO.

But submit_bio_wait() already sets the REQ_SYNC flag on the BIO so there
is no need for setting the flag in hfsplus_sync_fs() when calling
hfsplus_submit_bio().

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Viacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
Link: https://lore.kernel.org/r/20250710063553.4805-1-johannes.thumshirn@wdc.com
Link: https://lore.kernel.org/r/20250710063553.4805-1-johannes.thumshirn@wdc.com
Signed-off-by: Viacheslav Dubeyko <slava@dubeyko.com>
fs/hfsplus/super.c