diff options
author | Dmitriy Monakhov <dmonakhov@sw.ru> | 2007-03-05 09:30:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-05 16:57:53 +0100 |
commit | 82b16528405131eadc18285da982d4806f6db34e (patch) | |
tree | 0c59a2cfa72c0833c364a94d16e6017f42154e9f /fs/ecryptfs/mmap.c | |
parent | [PATCH] fix "NMI appears to be stuck" (diff) | |
download | linux-82b16528405131eadc18285da982d4806f6db34e.tar.xz linux-82b16528405131eadc18285da982d4806f6db34e.zip |
[PATCH] ecryptfs: lower root result must be adirectory
- Currently after path_lookup succeed we dot't have any guarantie what
it is DIR. This must be explicitly demanded.
- path_lookup can't return negative dentry, So inode check is useless.
Signed-off-by: Dmitriy Monakhov <dmonakhov@openvz.org>
Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions