diff options
| author | Al Viro <[email protected]> | 2011-07-21 19:57:47 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2011-07-22 23:42:11 +0000 |
| commit | 22ba747f660c0acd14761628c24aa972d18058a0 (patch) | |
| tree | 8a96b344623ba66c3138bd4d6cc916f5ad3d3053 /security/selinux/hooks.c | |
| parent | fix IN_DELETE_SELF on overwriting rename() on ramfs et.al. (diff) | |
| download | kernel-22ba747f660c0acd14761628c24aa972d18058a0.tar.gz kernel-22ba747f660c0acd14761628c24aa972d18058a0.zip | |
jffs2: fix IN_DELETE_SELF on overwriting rename() killing a directory
We don't generate IN_DELETE_SELF on victim of overwriting rename() if
it happens to be a directory. Trivially fixed by doing to ->i_nlink
what we do ->pino_nlink a couple of lines later in jffs2_rename().
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
