summaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_super.c
diff options
context:
space:
mode:
authorGeyslan G. Bem <geyslan@gmail.com>2013-10-21 16:47:58 -0300
committerEric Van Hensbergen <ericvh@gmail.com>2013-11-23 16:10:31 -0600
commitbdd5c28dcb8330b9074404cc92a0b83aae5606a9 (patch)
treec9eb26cb19bcc7d04b0775a59e893b9046f199c5 /fs/9p/vfs_super.c
parent72fe18c9c71c1911b02d4765661ea1522053b5df (diff)
downloadlinux-bdd5c28dcb8330b9074404cc92a0b83aae5606a9.tar.gz
linux-bdd5c28dcb8330b9074404cc92a0b83aae5606a9.tar.bz2
linux-bdd5c28dcb8330b9074404cc92a0b83aae5606a9.zip
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 <geyslan@gmail.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/vfs_super.c')
0 files changed, 0 insertions, 0 deletions