| commit | d02e476a6ad0de160353819edd2bb7a781d9a5e3 | [log] [tgz] |
|---|---|---|
| author | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 27 13:46:33 2025 -0400 |
| committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 28 17:03:30 2025 -0400 |
| tree | 28d22add5c1b2a5a4931751bb11c54224a3c99aa | |
| parent | 39fc94645940d13c33e77a6946788fab9f1afb4a [diff] |
simplify the callers of mnt_unhold_writers() The logics in cleanup on failure in mount_setattr_prepare() is simplified by having the mnt_hold_writers() failure followed by advancing m to the next node in the tree before leaving the loop. And since all calls are preceded by the same check that flag has been set and the function is inlined, let's just shift the check into it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>