From d3cd30c7dc1d50e9d9db2fb550646257414ed8f6 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 29 Mar 2012 16:11:20 -0400 Subject: [PATCH] yaffs2: 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/yaffs2/yaffs_vfs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index f822845..676de18 100644 --- a/fs/yaffs2/yaffs_vfs.c +++ b/fs/yaffs2/yaffs_vfs.c @@ -2268,9 +2268,9 @@ static struct super_block *yaffs_internal_read_super(int yaffs_version, yaffs_trace(YAFFS_TRACE_OS, "yaffs_read_super: got root inode"); - root = d_alloc_root(inode); + root = d_make_root(inode); - yaffs_trace(YAFFS_TRACE_OS, "yaffs_read_super: d_alloc_root done"); + yaffs_trace(YAFFS_TRACE_OS, "yaffs_read_super: d_make_root done"); if (!root) { iput(inode); -- 1.7.5.4