<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/uapi/linux/btrfs_tree.h, branch v4.9.289</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.9.289</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.9.289'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2020-08-21T09:01:49Z</updated>
<entry>
<title>uapi: includes linux/types.h before exporting files</title>
<updated>2020-08-21T09:01:49Z</updated>
<author>
<name>Nicolas Dichtel</name>
<email>nicolas.dichtel@6wind.com</email>
</author>
<published>2017-03-27T12:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5a41bdbb3450770edd5bf0d68b4d865a2f3c31c3'/>
<id>urn:sha1:5a41bdbb3450770edd5bf0d68b4d865a2f3c31c3</id>
<content type='text'>
commit 9078b4eea119c13d633d45af0397c821a517b522 upstream.

Some files will be exported after a following patch. 0-day tests report the
following warning/error:
./usr/include/linux/bcache.h:8: include of &lt;linux/types.h&gt; is preferred over &lt;asm/types.h&gt;
./usr/include/linux/bcache.h:11: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;
./usr/include/linux/qrtr.h:8: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;
./usr/include/linux/cryptouser.h:39: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;
./usr/include/linux/pr.h:14: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;
./usr/include/linux/btrfs_tree.h:337: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;
./usr/include/rdma/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include &lt;linux/types.h&gt;

Signed-off-by: Nicolas Dichtel &lt;nicolas.dichtel@6wind.com&gt;
Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
reb: left out include/uapi/rdma/bnxt_re-abi.h as it's not in this kernel version
Signed-off-by: Rolf Eike Beer &lt;eb@emlix.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>btrfs: Add sanity check for EXTENT_DATA when reading out leaf</title>
<updated>2018-12-08T12:05:11Z</updated>
<author>
<name>Qu Wenruo</name>
<email>quwenruo.btrfs@gmx.com</email>
</author>
<published>2017-08-23T07:57:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c5b29071313f249c9da6f4ca4adfd857f9f7666d'/>
<id>urn:sha1:c5b29071313f249c9da6f4ca4adfd857f9f7666d</id>
<content type='text'>
commit 40c3c40947324d9f40bf47830c92c59a9bbadf4a upstream.

Add extra checks for item with EXTENT_DATA type.  This checks the
following thing:

0) Key offset
   All key offsets must be aligned to sectorsize.
   Inline extent must have 0 for key offset.

1) Item size
   Uncompressed inline file extent size must match item size.
   (Compressed inline file extent has no information about its on-disk size.)
   Regular/preallocated file extent size must be a fixed value.

2) Every member of regular file extent item
   Including alignment for bytenr and offset, possible value for
   compression/encryption/type.

3) Type/compression/encode must be one of the valid values.

This should be the most comprehensive and strict check in the context
of btrfs_item for EXTENT_DATA.

Signed-off-by: Qu Wenruo &lt;quwenruo.btrfs@gmx.com&gt;
Reviewed-by: Nikolay Borisov &lt;nborisov@suse.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
[ switch to BTRFS_FILE_EXTENT_TYPES, similar to what
  BTRFS_COMPRESS_TYPES does ]
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
[bwh: Backported to 4.9: Use root-&gt;sectorsize instead of
 root-&gt;fs_info-&gt;sectorsize]
Signed-off-by: Ben Hutchings &lt;ben.hutchings@codethink.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>btrfs: define SUPER_FLAG_METADUMP_V2</title>
<updated>2018-06-13T14:16:41Z</updated>
<author>
<name>Anand Jain</name>
<email>Anand.Jain@oracle.com</email>
</author>
<published>2018-01-09T01:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8d99eb45732d331616e39740028afeb9afaf0b77'/>
<id>urn:sha1:8d99eb45732d331616e39740028afeb9afaf0b77</id>
<content type='text'>
commit e2731e55884f2138a252b0a3d7b24d57e49c3c59 upstream.

btrfs-progs uses super flag bit BTRFS_SUPER_FLAG_METADUMP_V2 (1ULL &lt;&lt; 34).
So just define that in kernel so that we know its been used.

Signed-off-by: Anand Jain &lt;anand.jain@oracle.com&gt;
Reviewed-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>btrfs: uapi/linux/btrfs_tree.h, use __u8 and __u64</title>
<updated>2016-04-28T09:06:41Z</updated>
<author>
<name>Jeff Mahoney</name>
<email>jeffm@suse.com</email>
</author>
<published>2016-04-01T20:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=14b05c5106312744badb463e7fb9a78811e44fc0'/>
<id>urn:sha1:14b05c5106312744badb463e7fb9a78811e44fc0</id>
<content type='text'>
u8 and u64 aren't exported to userspace, while __u8 and __u64 are.

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
Reviewed-by: Liu Bo &lt;bo.li.liu@oracle.com&gt;
Reviewed-by: Josef Bacik &lt;jbacik@fb.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: uapi/linux/btrfs_tree.h migration, item types and defines</title>
<updated>2016-04-28T09:06:41Z</updated>
<author>
<name>Jeff Mahoney</name>
<email>jeffm@suse.com</email>
</author>
<published>2016-04-01T20:14:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=db6711600e27c885aed89751f04e727f3af26715'/>
<id>urn:sha1:db6711600e27c885aed89751f04e727f3af26715</id>
<content type='text'>
The BTRFS_IOC_SEARCH_TREE ioctl returns file system items directly
to userspace.  In order to decode them, full type information is required.

Create a new header, btrfs_tree to contain these since most users won't
need them.

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
Reviewed-by: Liu Bo &lt;bo.li.liu@oracle.com&gt;
Reviewed-by: Josef Bacik &lt;jbacik@fb.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.com&gt;
</content>
</entry>
</feed>
