goto out;
dpri("s%d: {perm 0x%x, cnt %d, wbr %p}, "
- "%s, dev 0x%02x%02x, flags 0x%lx, cnt %d, active %d, "
+ "%s, dev 0x%02x%02x, flags 0x%lx, cnt(BIAS) %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,
+ sb->s_flags, sb->s_count - S_BIAS,
atomic_read(&sb->s_active), !!br->br_xino.xi_file);
return 0;
if (!h_file || au_test_ro(sb, bindex, inode))
continue;
- err = vfs_fsync(h_file, datasync);
+ err = vfs_fsync(h_file, h_file->f_dentry, datasync);
if (!err) {
h_mtx = &h_file->f_dentry->d_inode->i_mutex;
mutex_lock(h_mtx);
#include <linux/limits.h>
#include <linux/types.h>
-#define AUFS_VERSION "2-standalone.tree-35-rcN-20100531"
+#define AUFS_VERSION "2-standalone.tree-34-20100531"
/* todo? move this to linux-2.6.19/include/magic.h */
#define AUFS_SUPER_MAGIC ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')