Hi J.R.,

seems you missed f_dentry in your loopback patch. See attached file.

kind regards
Phil

Am 04.01.2015 um 22:06 schrieb sf...@users.sourceforge.net:
o bugfix
- possible bugfix, signedness of d_count

o news
- aufs3.18.1+ branch is created.
- now aufs3.9 .. aufs3.13 becomes obsolete. my development base is
   aufs3.14.
- and aufs3.14 branch is created in aufs-util.git.

Many of the commits to follow the change made in linux-3.19 and
linux-3.18.1 are made by Philip Muller. Thanx.

The codebase of this aufs3.x-rcN is linux-3.19-rc1 (instead of rc2).


J. R. Okajima

----------------------------------------

- aufs3-linux.git#aufs3.14 .. aufs3.18 branch
       aufs: optimize ac_dcsub_pages() by dcache:d_walk()
       aufs: tiny, remove unused variables
       aufs: tiny, fix forgotten replacing file_inode()
       for aufs: make d_walk() public
       aufs: possible bugfix, signedness of d_count

- aufs3-linux.git#aufs3.18.1+ branch
   addition to above,
       aufs: for linux-3.19, d_alias and d_child

- aufs3-linux.git#aufs3.x-rcN branch
   addition to above,
       aufs: for linux-3.19, remove au_diractor()
       aufs: for linux-3.19, vfs_fallocate()
       aufs: for linux-3.19, get_unused_fd_flags()
       aufs: for linux-3.19, f_dentry
       aufs: for linux-3.19, d_materialise_unique()

- aufs3-standalone.git
   ditto

- aufs-util.git
   none

--- aufs3-loopback.patch.orig	2015-01-06 09:40:51.567664733 +0100
+++ aufs3-loopback.patch	2015-01-06 09:49:22.305035741 +0100
@@ -55,8 +55,8 @@ index 30efd68..77b31b4 100644
 +static struct file *loop_real_file(struct file *file)
 +{
 +	struct file *f = NULL;
-+	if (file->f_dentry->d_sb->s_op->real_loop)
-+		f = file->f_dentry->d_sb->s_op->real_loop(file);
++	if (file->f_path.dentry->d_sb->s_op->real_loop)
++		f = file->f_path.dentry->d_sb->s_op->real_loop(file);
 +	return f;
 +}
  
@@ -225,7 +225,7 @@ index 54cb651..78416ea 100644
 +{
 +	struct file *f;
 +
-+	BUG_ON(!au_test_aufs(file->f_dentry->d_sb));
++	BUG_ON(!au_test_aufs(file->f_path.dentry->d_sb));
 +	fi_read_lock(file);
 +	f = au_hf_top(file);
 +	fi_read_unlock(file);
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net

Reply via email to