From: Geyslan G. Bem Date: Mon, 21 Oct 2013 19:47:58 +0000 (-0300) Subject: 9p: fix return value in case in v9fs_fid_xattr_set() X-Git-Tag: v3.14-rc1~89^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdd5c28dcb8330b9074404cc92a0b83aae5606a9;p=pandora-kernel.git 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: Geyslan G. Bem Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed