projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
pstore
/
inode.c
diff --git
a/fs/pstore/inode.c
b/fs/pstore/inode.c
index
08c3d76
..
71bf5f4
100644
(file)
--- a/
fs/pstore/inode.c
+++ b/
fs/pstore/inode.c
@@
-178,6
+178,8
@@
static int pstore_unlink(struct inode *dir, struct dentry *dentry)
if (p->psi->erase)
p->psi->erase(p->type, p->id, p->count,
dentry->d_inode->i_ctime, p->psi);
+ else
+ return -EPERM;
return simple_unlink(dir, dentry);
}