Hi Jorgen,

"Jrgen_P._Tjern":
> I'm not sure what triggered this, but I guess I should post it just in case.

What is your kernel version and aufs's?
If you can, please apply this debug patch and let me know the result.
The patch is for finding out where the BUG happened in a function.


Junjiro Okajima

----------------------------------------------------------------------
diff -x CVS -x RCS -x .pdiff -rup ../../aufs.anon/aufs/fs/aufs/export.c 
./fs/aufs/export.c
--- ../../aufs.anon/aufs/fs/aufs/export.c       2007-09-17 12:32:13.000000000 
+0900
+++ ./fs/aufs/export.c  2007-09-17 15:30:44.681392984 +0900
@@ -458,11 +458,14 @@ aufs_decode_fh(struct super_block *sb, _
                goto out;
        if (unlikely(!dentry))
                goto out_stale;
+       BUG_ON(!dentry->d_inode);
        if (unlikely(dentry->d_inode->i_ino != ino))
                goto out_dput;
 
  accept:
        inode = dentry->d_inode;
+       BUG_ON(!inode);
+       BUG_ON(!itoii(inode));
        h_inode = NULL;
        ii_read_lock_child(inode);
        if (ibstart(inode) <= bindex && bindex <= ibend(inode))

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to