UBUNTU: ubuntu: AUFS -- update to standalone 2.6.35-rcN as at 20100601
authorAndy Whitcroft <apw@canonical.com>
Thu, 3 Jun 2010 07:34:46 +0000 (08:34 +0100)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:48:44 +0000 (06:48 -0700)
BugLink: http://bugs.launchpad.net/bugs/587888

Update to current aufs2 for v2.6.35-rcN:

  commit a9be01e5e9688018ebe9ef46ec5414bb356bc556
  Author: J. R. Okajima <hooanon05@yahoo.co.jp>
  Date:   Sun May 30 04:40:49 2010 +0900

    aufs: fi_hdir, rename au_do_refresh_file() to au_do_refresh_dir()

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

ubuntu/aufs/debug.c
ubuntu/aufs/dir.c
ubuntu/aufs/include/linux/aufs_type.h

index 6fbe34f..abe286a 100644 (file)
@@ -243,11 +243,11 @@ static int do_pri_br(aufs_bindex_t bindex, struct au_branch *br)
                goto out;
 
        dpri("s%d: {perm 0x%x, cnt %d, wbr %p}, "
-            "%s, dev 0x%02x%02x, flags 0x%lx, cnt(BIAS) %d, active %d, "
+            "%s, dev 0x%02x%02x, flags 0x%lx, cnt %d, active %d, "
             "xino %d\n",
             bindex, br->br_perm, atomic_read(&br->br_count), br->br_wbr,
             au_sbtype(sb), MAJOR(sb->s_dev), MINOR(sb->s_dev),
-            sb->s_flags, sb->s_count - S_BIAS,
+            sb->s_flags, sb->s_count,
             atomic_read(&sb->s_active), !!br->br_xino.xi_file);
        return 0;
 
index fe8737f..6ff01bc 100644 (file)
@@ -325,7 +325,7 @@ static int au_do_fsync_dir(struct file *file, int datasync)
                if (!h_file || au_test_ro(sb, bindex, inode))
                        continue;
 
-               err = vfs_fsync(h_file, h_file->f_dentry, datasync);
+               err = vfs_fsync(h_file, datasync);
                if (!err) {
                        h_mtx = &h_file->f_dentry->d_inode->i_mutex;
                        mutex_lock(h_mtx);
index 52e9efa..35b39e0 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/limits.h>
 #include <linux/types.h>
 
-#define AUFS_VERSION   "2-standalone.tree-34-20100531"
+#define AUFS_VERSION   "2-standalone.tree-35-rcN-20100531"
 
 /* todo? move this to linux-2.6.19/include/magic.h */
 #define AUFS_SUPER_MAGIC       ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')