projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch open-coded instances of d_make_root() to new helper
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ext4
/
super.c
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index 502c61fd739262306f7665b355cbdeba4d1e1c43..d2baea7bcf30188f09abc1f28f91a4a5f71bfd65 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-3735,9
+3735,8
@@
no_journal:
iput(root);
goto failed_mount4;
}
- sb->s_root = d_
alloc
_root(root);
+ sb->s_root = d_
make
_root(root);
if (!sb->s_root) {
- iput(root);
ext4_msg(sb, KERN_ERR, "get root dentry failed");
ret = -ENOMEM;
goto failed_mount4;