• D
    VFS: fix statfs() automounter semantics regression · 5c8a0fbb
    Dan McGee 提交于
    No one in their right mind would expect statfs() to not work on a
    automounter managed mount point. Fix it.
    
    [ I'm not sure about the "no one in their right mind" part.  It's not
      mounted, and you didn't ask for it to be mounted.  But nobody will
      really care, and this probably makes it match previous semantics, so..
          - Linus ]
    
    This mirrors the fix made to the quota code in 815d405c.
    Signed-off-by: NDan McGee <dpmcgee@gmail.com>
    Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
    Cc: Alexander Viro <viro@zeniv.linux.org.uk>
    Cc: stable@kernel.org
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    5c8a0fbb
statfs.c 5.0 KB