[systemd-devel] [PATCH] fs: switch to d_splice_alias()

Bryan Hundven bryanhundven at gmail.com
Wed Jan 28 20:42:00 PST 2015


During the 3.19 merge window, two commits in Linus's tree:
b5ae6b15bd73e35b129408755a0804287a87e041
=====
merge d_materialise_unique() into d_splice_alias()
=====
and
41d28bca2da4bd75a8915c1ccf2cacf7f4a2e531
=====
switch d_materialise_unique() users to d_splice_alias()
=====

...requires us to switch to d_splice_alias().

Signed-off-by: Bryan Hundven <bryanhundven at gmail.com>
---
 fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs.c b/fs.c
index 7fc5ede..33aff4b 100644
--- a/fs.c
+++ b/fs.c
@@ -175,7 +175,7 @@ static struct dentry *fs_dir_iop_lookup(struct inode *dir,
 		if (IS_ERR(inode))
 			dnew = ERR_CAST(inode);
 		else
-			dnew = d_materialise_unique(dentry, inode);
+			dnew = d_splice_alias(inode, dentry);
 
 		kdbus_node_release(node);
 	}
-- 
2.2.2



More information about the systemd-devel mailing list