]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: fix statfs() automounter semantics regression
authorDan McGee <dpmcgee@gmail.com>
Tue, 1 Nov 2011 23:23:10 +0000 (18:23 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Nov 2011 01:15:59 +0000 (18:15 -0700)
commitb52f96a0c344a9a9642e7b0d4825739c87b2fc83
tree4a6b4aa06239b352b5cebba1fd026f1afa9b679e
parent0bc2f85a333eafaa430addfdd518f7b95e11893f
VFS: fix statfs() automounter semantics regression

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 e0734734e77ab869ec.

Signed-off-by: Dan 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: Linus Torvalds <torvalds@linux-foundation.org>
fs/statfs.c