9p: fix return value in case in v9fs_fid_xattr_set()
authorGeyslan G. Bem <geyslan@gmail.com>
Mon, 21 Oct 2013 19:47:58 +0000 (16:47 -0300)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 23 Nov 2013 22:10:31 +0000 (16:10 -0600)
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: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/xattr.c

diff --cc fs/9p/xattr.c
Simple merge