]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c97bf7ecdf96b8b020192f3b8939a355f0a4b7c
tree2fb88ed38dfc9b4e7599cdbdd9832b581bf24846
parentd3491b8cfad1d1ef821bf6670964eae07b73d730
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