projects
/
deliverable
/
linux.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
[deliverable/linux.git]
/
fs
/
nilfs2
/
super.c
diff --git
a/fs/nilfs2/super.c
b/fs/nilfs2/super.c
index 1fc9ad3c1d14707bdd2cf0349e3b1ea5cf7450a2..1099a76cee5962838841a9719a0758e4defcb2d3 100644
(file)
--- a/
fs/nilfs2/super.c
+++ b/
fs/nilfs2/super.c
@@
-917,9
+917,8
@@
static int nilfs_get_root_dentry(struct super_block *sb,
if (root->cno == NILFS_CPTREE_CURRENT_CNO) {
dentry = d_find_alias(inode);
if (!dentry) {
- dentry = d_
alloc
_root(inode);
+ dentry = d_
make
_root(inode);
if (!dentry) {
- iput(inode);
ret = -ENOMEM;
goto failed_dentry;
}
This page took
0.026134 seconds
and
5
git commands to generate.