Skip to content
Commit 86bc843a authored by Sergey Vlasov's avatar Sergey Vlasov Committed by Linus Torvalds
Browse files

[PATCH] tmpfs: Decrement i_nlink correctly in shmem_rmdir()



shmem_rmdir() must undo the increment of i_nlink done in
shmem_get_inode() for directories, otherwise at least
IN_DELETE_SELF inotify event generation is broken.

Signed-off-by: default avatarSergey Vlasov <vsu@altlinux.ru>
Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cfd95a9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment