mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02: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
|
@ -256,8 +256,7 @@ found:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
d_add(dentry, inode);
|
return d_splice_alias(inode, dentry);
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int openpromfs_readdir(struct file *file, struct dir_context *ctx)
|
static int openpromfs_readdir(struct file *file, struct dir_context *ctx)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user