]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: statfs error-handling fix
authorAmnon Aaronsohn <amnonaar@gmail.com>
Tue, 10 Apr 2007 05:05:26 +0000 (22:05 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 May 2007 05:17:02 +0000 (22:17 -0700)
commitf8fee65bac119ea9054d4bbe2682f447bed65589
tree7ff4d7658ce51b33a23a127dbe848bc076cdf597
parent475ceb20625894ad54e1c94c3d08fc483e5bbd38
NFS: statfs error-handling fix

The nfs statfs function returns a success code on error, and fills the
output buffer with invalid values.  The attached patch makes it return a
correct error code instead.

Signed-off-by: Amnon Aaronsohn <amnonaar@gmail.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
 (Modified patch to reinstate the dprintk())
fs/nfs/super.c