diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2012-01-14 15:51:37 +0100 |
---|---|---|
committer | Tyler Hicks <tyhicks@canonical.com> | 2012-01-25 14:43:39 -0600 |
commit | 7f133504249afa48618becac546ce3c35c9f0185 (patch) | |
tree | 0aa0044c7074095e15ac86a6f1be00c5bc0df8f7 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | db10e556518eb9d21ee92ff944530d84349684f4 (diff) | |
download | talos-obmc-linux-7f133504249afa48618becac546ce3c35c9f0185.tar.gz talos-obmc-linux-7f133504249afa48618becac546ce3c35c9f0185.zip |
eCryptfs: Report errors in writes to /dev/ecryptfs
Errors in writes to /dev/ecryptfs were being incorrectly reported by
returning 0 or the value of the original write count.
This patch clears up the return code assignment in error paths.
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions