commit | b09b9417d074e01a4e4ab5c19358f1b3dc76c1b2 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Oct 25 13:56:10 2007 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Nov 17 13:08:44 2007 -0500 |
tree | ed90c600222d35834b045e8a72336621d36f0b2e | |
parent | 2ffbb8377c7a0713baf6644e285adc27a5654582 [diff] |
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 <Trond.Myklebust@netapp.com>