-------- Original Message --------
Subject: Re: [PATCH v2 4/4] btrfs-progs: Fix the return value when executing 'btrfs pro get' on a uncompress file.
From: David Sterba <dste...@suse.cz>
To: Qu Wenruo <quwen...@cn.fujitsu.com>
Date: 2014年04月22日 20:37
On Tue, Apr 15, 2014 at 05:22:24PM +0800, Qu Wenruo wrote:
When executing 'btrfs pro get' on a file which is not compressed, return
value will always be 50 since prop_compress() return -ENOATTR.

But the codes have already check the errno to avoid unnecessary error
message, so the return value should also set to 0.

Signed-off-by: Qu Wenruo <quwe...@cn.fujitsu.com>
JFYI, I've edited the subject and changelog, let's use the 'prop'
abbreviation for properties.
Thanks for that.
My poor English seems always to be a problem.  :(

Qu
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to