Skip to content
Commit b09b9417 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 2ffbb837
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment