Re: [PATCH] NFS: Fix the ustat() regression

2007-11-12 Thread Kumar Gala
On Nov 12, 2007, at 4:21 PM, Andrew Morton wrote: On Sat, 10 Nov 2007 17:02:19 -0600 (CST) Kumar Gala <[EMAIL PROTECTED]> wrote: 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

Re: [PATCH] NFS: Fix the ustat() regression

2007-11-12 Thread Andrew Morton
On Sat, 10 Nov 2007 17:02:19 -0600 (CST) Kumar Gala <[EMAIL PROTECTED]> wrote: > 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 d

[PATCH] NFS: Fix the ustat() regression

2007-11-10 Thread Kumar Gala
From: Trond Myklebust <[EMAIL PROTECTED]> 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