mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
openpromfs: switch to d_splice_alias()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
b113a6d3cf
commit
0ed883fd80
1 changed files with 1 additions and 2 deletions
|
|
@ -256,8 +256,7 @@ found:
|
|||
break;
|
||||
}
|
||||
|
||||
d_add(dentry, inode);
|
||||
return NULL;
|
||||
return d_splice_alias(inode, dentry);
|
||||
}
|
||||
|
||||
static int openpromfs_readdir(struct file *file, struct dir_context *ctx)
|
||||
|
|
|
|||
Loading…
Reference in a new issue