Re: [LTP-FAIL][02/21] fs: refactor ksys_umount
From: Christoph Hellwig
Date: Thu Aug 06 2020 - 13:33:10 EST
On Thu, Aug 06, 2020 at 03:32:21PM +0100, Al Viro wrote:
> On Thu, Aug 06, 2020 at 04:17:32PM +0200, Christoph Hellwig wrote:
> > Fix for umount03 below. The other one works fine here, but from
> > your logs this might be a follow on if you run it after umount without
> > the fix.
>
> Ugh...
>
> How about
> static int may_umount(const struct path *path, int flags)
may_umount is already take. But with can_umount this would work:
---