Re: [PATCH 0/5] fuse: handle release synchronously (v4)

From: Al Viro
Date: Sat Oct 18 2014 - 14:45:52 EST


On Sat, Oct 18, 2014 at 07:24:54PM +0100, Al Viro wrote:
> On Sat, Oct 18, 2014 at 08:01:13PM +0200, Miklos Szeredi wrote:
>
> > And what you don't get is that there's a deep difference between those
> > and the /proc file access case.
> >
> > And the difference is that one is done because of an explicit action
> > by the holder of the open file. And the other is done by some random
> > process doing non-invasive examination of the holder of the open-file.
>
> Such as ls -l /proc/*/fd/*? That will give you the same transient EBUSY
> from umount, if it hits the right moment...

stat -L /proc/*/fd/*, that is...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/