12 lines
219 B
Plaintext
12 lines
219 B
Plaintext
|
--- a/fs/squashfs/inode.c
|
||
|
+++ b/fs/squashfs/inode.c
|
||
|
@@ -656,7 +656,7 @@
|
||
|
goto failure;
|
||
|
}
|
||
|
|
||
|
- dentry = d_alloc_anon(i);
|
||
|
+ dentry = d_obtain_alias(i);
|
||
|
if (dentry == NULL) {
|
||
|
iput(i);
|
||
|
dentry = ERR_PTR(-ENOMEM);
|