diff options
Diffstat (limited to 'fs/isofs/inode.c')
-rw-r--r-- | fs/isofs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index bd62c76fb5df..29037c365ba4 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
@@ -947,9 +947,8 @@ root_found: | |||
947 | s->s_d_op = &isofs_dentry_ops[table]; | 947 | s->s_d_op = &isofs_dentry_ops[table]; |
948 | 948 | ||
949 | /* get the root dentry */ | 949 | /* get the root dentry */ |
950 | s->s_root = d_alloc_root(inode); | 950 | s->s_root = d_make_root(inode); |
951 | if (!(s->s_root)) { | 951 | if (!(s->s_root)) { |
952 | iput(inode); | ||
953 | error = -ENOMEM; | 952 | error = -ENOMEM; |
954 | goto out_no_inode; | 953 | goto out_no_inode; |
955 | } | 954 | } |