summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/mmap.c
diff options
context:
space:
mode:
authorDmitriy Monakhov <dmonakhov@sw.ru>2007-03-05 09:30:46 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-05 16:57:53 +0100
commit82b16528405131eadc18285da982d4806f6db34e (patch)
tree0c59a2cfa72c0833c364a94d16e6017f42154e9f /fs/ecryptfs/mmap.c
parent[PATCH] fix "NMI appears to be stuck" (diff)
downloadlinux-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 'fs/ecryptfs/mmap.c')
0 files changed, 0 insertions, 0 deletions