From: Trond Myklebust Date: Thu, 25 Oct 2007 17:56:10 +0000 (-0400) Subject: NFS: Fix the ustat() regression X-Git-Tag: v2.6.24-rc4~92^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b09b9417d074e01a4e4ab5c19358f1b3dc76c1b2;p=pandora-kernel.git NFS: Fix the ustat() regression Since 2.6.18, the superblock sb->s_root has been a dummy dentry with a dummy inode. This breaks ustat(), which actually uses sb->s_root in a vfstat() call. Fix this by making the s_root a dummy alias to the directory inode that was used when creating the superblock. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed