]> git.ipfire.org Git - thirdparty/systemd.git/commit
home: move the assert back to the intended place
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 29 May 2023 18:28:34 +0000 (20:28 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 May 2023 01:00:29 +0000 (10:00 +0900)
commite4ab2db9df997e2c7d788440fbfe645b2d816306
tree04b631515a109c531f015bfbdd5b8bb4fb3ef856
parent4a7a13b5a0ab18670cf1463bb16c494ee20418ea
home: move the assert back to the intended place

98d81cf974 moved the assertion at the beginning of home_dispatch_acquire(),
which is however before we even check for any ongoing operation, hence we
might hit it even in legitimate cases.

Let's move it back to after we check for any possibly ongoing operation, to
make it once again a safety check.

Follow-up to 98d81cf974.
Resolves: #22443 and #24036
src/home/homed-home.c