linux-next: manual merge of the vfs tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Al,

Today's linux-next merge of the vfs tree got a conflict in
fs/ext4/namei.c between commit f702ba0fd7d50b5f5f5aea5317875a10d40b869f
("ext4: Don't use 'struct dentry' for internal lookups") from Linus' tree
and commit 8ee6b8fff20962d17a008e230006e48c7f79ade4 ("[PATCH] switch all
filesystems over to d_obtain_alias") from the vfs tree.

Just context changes.  I fixed it up (see below).
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

diff --cc fs/ext4/namei.c
index 92db9e9,542c013..0000000
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@@ -1061,17 -1060,15 +1061,14 @@@ static struct dentry *ext4_lookup(struc
  struct dentry *ext4_get_parent(struct dentry *child)
  {
  	unsigned long ino;
- 	struct dentry *parent;
- 	struct inode *inode;
 -	struct dentry dotdot;
 +	static const struct qstr dotdot = {
 +		.name = "..",
 +		.len = 2,
 +	};
  	struct ext4_dir_entry_2 * de;
  	struct buffer_head *bh;
  
 -	dotdot.d_name.name = "..";
 -	dotdot.d_name.len = 2;
 -	dotdot.d_parent = child; /* confusing, isn't it! */
 -
 -	bh = ext4_find_entry(&dotdot, &de);
 +	bh = ext4_find_entry(child->d_inode, &dotdot, &de);
- 	inode = NULL;
  	if (!bh)
  		return ERR_PTR(-ENOENT);
  	ino = le32_to_cpu(de->inode);
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux