diff --git a/fs/9p/xattr.c b/fs/9p/xattr.c index 04133a1fd9cbea42585f530b56bb73f93b1bd1dc..f95e01e058e4de657b3cd85aafc233f0565c6e16 100644 --- a/fs/9p/xattr.c +++ b/fs/9p/xattr.c @@ -156,7 +156,7 @@ int v9fs_fid_xattr_set(struct p9_fid *fid, const char *name, offset += write_count; value_len -= write_count; } - retval = offset; + retval = 0; err: p9_client_clunk(fid); return retval;