]> www.infradead.org Git - users/jedix/linux-maple.git/commit
VFS: fix statfs() automounter semantics regression
authorDan McGee <dpmcgee@gmail.com>
Tue, 1 Nov 2011 23:23:10 +0000 (18:23 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:14 +0000 (11:18 -0800)
commit1a92cea57d3335b2f45f9a278e4401f6a5280109
tree1944ac0e11f9b866855a6aba9cc82dfa23580f7c
parentf0a11cbea4e9338dca7c36583d6baecafcda6405
VFS: fix statfs() automounter semantics regression

commit 5c8a0fbba543d9428a486f0d1282bbcf3cf1d95a upstream.

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 815d405ceff0d69646.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/statfs.c