mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
xfs: remove double-underscore integer types
This is a purely mechanical patch that removes the private __{u,}int{8,16,32,64}_t typedefs in favor of using the system {u,}int{8,16,32,64}_t typedefs. This is the sed script used to perform the transformation and fix the resulting whitespace and indentation errors: s/typedef\t__uint8_t/typedef __uint8_t\t/g s/typedef\t__uint/typedef __uint/g s/typedef\t__int\([0-9]*\)_t/typedef int\1_t\t/g s/__uint8_t\t/__uint8_t\t\t/g s/__uint/uint/g s/__int\([0-9]*\)_t\t/__int\1_t\t\t/g s/__int/int/g /^typedef.*int[0-9]*_t;$/d Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
5a4c73342a
commit
c8ce540db5
61 changed files with 634 additions and 642 deletions
|
@ -44,7 +44,7 @@ static unsigned char xfs_dir3_filetype_table[] = {
|
|||
static unsigned char
|
||||
xfs_dir3_get_dtype(
|
||||
struct xfs_mount *mp,
|
||||
__uint8_t filetype)
|
||||
uint8_t filetype)
|
||||
{
|
||||
if (!xfs_sb_version_hasftype(&mp->m_sb))
|
||||
return DT_UNKNOWN;
|
||||
|
@ -117,7 +117,7 @@ xfs_dir2_sf_getdents(
|
|||
*/
|
||||
sfep = xfs_dir2_sf_firstentry(sfp);
|
||||
for (i = 0; i < sfp->count; i++) {
|
||||
__uint8_t filetype;
|
||||
uint8_t filetype;
|
||||
|
||||
off = xfs_dir2_db_off_to_dataptr(geo, geo->datablk,
|
||||
xfs_dir2_sf_get_offset(sfep));
|
||||
|
@ -194,7 +194,7 @@ xfs_dir2_block_getdents(
|
|||
* Each object is a real entry (dep) or an unused one (dup).
|
||||
*/
|
||||
while (ptr < endptr) {
|
||||
__uint8_t filetype;
|
||||
uint8_t filetype;
|
||||
|
||||
dup = (xfs_dir2_data_unused_t *)ptr;
|
||||
/*
|
||||
|
@ -391,7 +391,7 @@ xfs_dir2_leaf_getdents(
|
|||
* Get more blocks and readahead as necessary.
|
||||
*/
|
||||
while (curoff < XFS_DIR2_LEAF_OFFSET) {
|
||||
__uint8_t filetype;
|
||||
uint8_t filetype;
|
||||
|
||||
/*
|
||||
* If we have no buffer, or we're off the end of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue