> "Jrgen P. Tjern":
> > [2297447.631266] aufs 20070702
> > [2297509.899071] aufs au_new_inode:347:smbd[27416]: Un-notified UDBA or
> > directly renamed dir, b0, xfs, Simon - Garfunkel - The Best Of Simon -
> > Garfunkel - Song For The Asking.mp3, hi1610612893, i16.

Please show me your /sys/fs/aufs/*/xino file, if it exists.
And please try this patch.

Junjiro Okajima

----------------------------------------------------------------------
Index: fs/aufs/xino.c
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/xino.c,v
retrieving revision 1.32
diff -u -p -r1.32 xino.c
--- fs/aufs/xino.c      2 Jul 2007 05:11:13 -0000       1.32
+++ fs/aufs/xino.c      2 Jul 2007 12:58:23 -0000
@@ -151,7 +151,8 @@ int xino_write(struct super_block *sb, a
 
        br = stobr(sb, bindex);
        AuDebugOn(!br || !br->br_xino);
-       pos = h_ino * sizeof(*xino);
+       pos = h_ino;
+       pos *= sizeof(*xino);
        sz = xino_fwrite(stosi(sb)->si_xwrite, br->br_xino, xino, sizeof(*xino),
                         &pos);
        //if (LktrCond) sz = 1;
@@ -358,7 +359,8 @@ int xino_read(struct super_block *sb, au
        br = stobr(sb, bindex);
        file = br->br_xino;
        AuDebugOn(!file);
-       pos = h_ino * sizeof(*xino);
+       pos = h_ino;
+       pos *= sizeof(*xino);
        if (i_size_read(file->f_dentry->d_inode) < pos + sizeof(*xino))
                return 0; /* no ino */
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Reply via email to