diff options
author | Dmitriy Monakhov <dmonakhov@sw.ru> | 2007-03-05 00:30:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-05 07:57:53 -0800 |
commit | 82b16528405131eadc18285da982d4806f6db34e (patch) | |
tree | 0c59a2cfa72c0833c364a94d16e6017f42154e9f /fs/ecryptfs/mmap.c | |
parent | a5f5e43e2b1377392f9afe93aca29b9abf1d6a44 (diff) |
[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 'fs/ecryptfs/mmap.c')
0 files changed, 0 insertions, 0 deletions