From 0310ad586c23871802aabff360c54505f62ea56f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 29 Mar 2012 16:09:45 -0400 Subject: [PATCH] unionfs: replace d_alloc_root with d_make_root d_alloc_root has been removed, updating to the replacement d_make_root Signed-off-by: Bruce Ashfield --- fs/unionfs/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c index 87cd1fc..fb18ef4 100644 --- a/fs/unionfs/main.c +++ b/fs/unionfs/main.c @@ -599,7 +599,7 @@ static int unionfs_read_super(struct super_block *sb, void *raw_data, err = PTR_ERR(inode); goto out_dput; } - sb->s_root = d_alloc_root(inode); + sb->s_root = d_make_root(inode); if (unlikely(!sb->s_root)) { err = -ENOMEM; goto out_iput; @@ -636,7 +636,7 @@ static int unionfs_read_super(struct super_block *sb, void *raw_data, /* * No need to call interpose because we already have a positive - * dentry, which was instantiated by d_alloc_root. Just need to + * dentry, which was instantiated by d_make_root. Just need to * d_rehash it. */ d_rehash(sb->s_root); -- 1.7.5.4