Skip to content
Commit 7f133504 authored by Tyler Hicks's avatar Tyler Hicks
Browse files

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: default avatarTyler Hicks <tyhicks@canonical.com>
parent db10e556
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment