]> git.ipfire.org Git - people/ms/linux.git/commit - fs/ext4/ioctl.c
ext4: eliminate sleep from shutdown ioctl
authorTheodore Ts'o <tytso@mit.edu>
Mon, 19 Feb 2018 04:16:28 +0000 (23:16 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Feb 2018 04:16:28 +0000 (23:16 -0500)
commita6d9946bb925293fda9f5ed6d33d8580b001f006
tree2fb88ed38dfc9b4e7599cdbdd9832b581bf24846
parent576d18ed60f5465110087c5e0eb1010de13e374d
ext4: eliminate sleep from shutdown ioctl

The msleep() when processing EXT4_GOING_FLAGS_NOLOGFLUSH was a hack to
avoid some races (that are now fixed), but in fact it introduced its
own race.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/ioctl.c