ecryptfs: Improve metadata read failure logging
commit7727d2c0b842a1971090a15c434b41049632fff5
authorTim Gardner <tim.gardner@canonical.com>
Thu, 12 Jan 2012 15:31:55 +0000 (12 16:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:26:49 +0000 (3 09:26 -0800)
tree24d9032b4fa55487ab2b4ff2ff896a0df58c4096
parent22b1c8706204fc3b225fa2ee99b3f71d3203d146
ecryptfs: Improve metadata read failure logging

commit 30373dc0c87ffef68d5628e77d56ffb1fa22e1ee upstream.

Print inode on metadata read failure. The only real
way of dealing with metadata read failures is to delete
the underlying file system file. Having the inode
allows one to 'find . -inum INODE`.

[tyhicks@canonical.com: Removed some minor not-for-stable parts]
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ecryptfs/crypto.c