]> Git Repo - linux.git/commit - fs/nfs/getroot.c
NFS: Fix the ustat() regression
authorTrond Myklebust <[email protected]>
Thu, 25 Oct 2007 17:56:10 +0000 (13:56 -0400)
committerTrond Myklebust <[email protected]>
Sat, 17 Nov 2007 18:08:44 +0000 (13:08 -0500)
commitb09b9417d074e01a4e4ab5c19358f1b3dc76c1b2
treeed90c600222d35834b045e8a72336621d36f0b2e
parent2ffbb8377c7a0713baf6644e285adc27a5654582
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 <[email protected]>
fs/nfs/getroot.c
This page took 0.054012 seconds and 4 git commands to generate.