eCryptfs: Return error when lower file pointer is NULL
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Fri, 5 Aug 2011 03:58:51 +0000 (22:58 -0500)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Tue, 9 Aug 2011 18:42:45 +0000 (13:42 -0500)
When an eCryptfs inode's lower file has been closed, and the pointer has
been set to NULL, return an error when trying to do a lower read or
write rather than calling BUG().

https://bugzilla.kernel.org/show_bug.cgi?id=37292

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Cc: <stable@kernel.org>

No differences found