Re: LTP ustat01 test fails on NFSROOT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Oct 26, 2007, at 4:42 AM, Kumar Gala wrote:


On Oct 25, 2007, at 12:59 PM, Trond Myklebust wrote:

Could you please try the following patch?

Cheers
  Trond
--------------------------------- CUT HERE -----------------------------
From: Trond Myklebust <[email protected]>
Date: Thu, 25 Oct 2007 13:56:10 -0400
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 | 81 +++++++++++++++++ +------------------------------------
 1 files changed, 27 insertions(+), 54 deletions(-)

Any reason not to send this to Linus as a bug fix for 2.6.24 (and possibly stable)?

ping.  would love to see this is Linus's tree.

- k
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux