Skip to content
Commit bdd5c28d authored by Geyslan G. Bem's avatar Geyslan G. Bem Committed by Eric Van Hensbergen
Browse files

9p: fix return value in case in v9fs_fid_xattr_set()



In case of error in the p9_client_write, the function v9fs_fid_xattr_set
should return its negative value, what was never being done.

In case of success it only retuned 0. Now it returns the 'offset'
variable (write_count total).

Signed-off-by: default avatarGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent 72fe18c9
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