[PATCH] Add btrfs ioctl support.

Jeff Mahoney jeffm at suse.com
Sun May 15 00:37:01 UTC 2016


On 5/14/16 6:35 PM, Dmitry V. Levin wrote:
> On Fri, May 13, 2016 at 08:13:22PM +0300, Dmitry V. Levin wrote:
>> On Wed, May 04, 2016 at 08:07:13PM -0400, jeffm at suse.com wrote:
>> [...]
>>> +static void
>>> +btrfs_print_objectid(uint64_t objectid)
>>> +{
>>> +	const char *str = xlookup(btrfs_tree_objectids, objectid);
>>
>>
>> As we have both xlookup and xlookup64, you probably want to use xlookup64
>> at least in all 64-bit lookups.
> 
> OK, I've finished transition of all xlookup users to xlookup64 and renamed
> xlookup64 to xlookup, so all uses of xlookup in btrfs.c are fine now.

I've done the same in my local branch.  I've also implemented the
ioctl(-1, ...) test cases you and "Line Printer" asked about the other
day, which actually did uncover a few bugs (mea culpa).  I'll submit the
revised version with the test cases sometime this weekend or Monday as
time allows.

-Jeff

-- 
Jeff Mahoney
SUSE Labs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160514/f1ab1a2f/attachment.bin>


More information about the Strace-devel mailing list