]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
eCryptfs: do not try to open device files on mknod
authorMichael Halcrow <mhalcrow@us.ibm.com>
Thu, 24 Jul 2008 04:30:07 +0000 (21:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:31 +0000 (10:47 -0700)
commit72b55fffd631a89e5be6fe1b4f2565bc4cd90deb
treeece810c24655a6eeed96a6f2fbe14dea6478f031
parent0a688ad713949643e201431d3f4a4ceddfeb70ca
eCryptfs: do not try to open device files on mknod

When creating device nodes, eCryptfs needs to delay actually opening the lower
persistent file until an application tries to open.  Device handles may not be
backed by anything when they first come into existence.

[Valdis.Kletnieks@vt.edu: build fix]
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: <Valdis.Kletnieks@vt.edu}
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/file.c
fs/ecryptfs/inode.c
fs/ecryptfs/main.c