[RFCRAP 0/3?] xfs: OH GOD MY EYES!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This is a series of three eyewateringly awful patches.  The first two
are semantic patches that perform the long-delayed conversion of double
underscore integer types (e.g. __uint64_t) into the standard C99 types
(e.g. uint64_t) that are available in userspace and the kernel.  They
are both huge, terrifying, and might just piss off vger enough that they
don't come through, but that's fine because if it ever gets approved
I'll simply rerun the sed script:

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

against whatever's current in git.  Lines 1-4 and 6 fix whitespace and
indentation problems; lines 5 and 7 perform the actual transformation,
and line 8 removes the old typedefs.

The third patch in this series adds a reboot notifier that freezes any
rw xfs filesystems prior to a soft reboot to reduce the likelihood that
grub (and other deficient xfs drivers) go stumbling through a dirty
filesystem and make our users crazy.

Flame away! :)

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



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux