Re: [PATCH] VFS: Suppress automount on [l]stat, [l]getxattr, etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 23, 2011 at 8:01 AM, Trond Myklebust
<Trond.Myklebust@xxxxxxxxxx> wrote:
>
> Wrong. Miklos's patch introduces new behaviour that was never present
> previously:

Look at the big picture. The real damage wasn't done my Miklos, and
that's something you don't seem to understand.

So stop with the crazy "just revert" crap. That's not how it works. If
you want to talk about reverts, then you need to go all the way back
to the follow_link behavior.

Afaik, the closest we can get to old behavior is just checking
LOOKUP_DIRECTORY. We might want to check LOOKUP_OPEN too and that
solves your "whaa, whaah, it might be a file" thing. But neither stat
nor lstat used to auto-mount with autofs (and quite frankly, some
NFS-side automounting should strive to look the same, imgo).

So please *understand* the problem I have already. My problem is that
you seem to think "revert miklos" just fixes all the issues and is
some "safe" approach. It just re-introduces the *original* regression.

                              Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux