projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa2b721
)
fuse: readdirplus: cleanup
author
Miklos Szeredi
<mszeredi@suse.cz>
Wed, 17 Jul 2013 12:53:54 +0000
(14:53 +0200)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Wed, 17 Jul 2013 12:53:54 +0000
(14:53 +0200)
Niels noted that we don't need the 'dentry = NULL' line.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Niels de Vos <ndevos@redhat.com>
fs/fuse/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fuse/dir.c
b/fs/fuse/dir.c
index 37d85e05b1f5f6719acf3a5d192ea4365a6793b3..72a5d5b04494ded2468bc4a2f5f30e30c9ca12f7 100644
(file)
--- a/
fs/fuse/dir.c
+++ b/
fs/fuse/dir.c
@@
-1263,7
+1263,6
@@
static int fuse_direntplus_link(struct file *file,
goto found;
}
dput(dentry);
- dentry = NULL;
}
dentry = d_alloc(parent, &name);
@@
-1299,8
+1298,7
@@
found:
err = 0;
out:
- if (dentry)
- dput(dentry);
+ dput(dentry);
return err;
}