From: Amnon Aaronsohn Date: Tue, 10 Apr 2007 05:05:26 +0000 (-0700) Subject: NFS: statfs error-handling fix X-Git-Tag: v2.6.22-rc1~1035^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a0ba9ae485c5fd17d0bff2f14d9dd75b8985593;p=pandora-kernel.git 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 Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust (Modified patch to reinstate the dprintk()) --- Reading git-diff-tree failed