aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2012-07-30 21:42:56 +0000
committerLinus Torvalds <[email protected]>2012-07-31 00:25:21 +0000
commitf7e1becb078c2b996420a61f2a411ef19335e2da (patch)
treedd4f700147f69579db0ae79feadcdc7d93e6c942 /lib/cpu-notifier-error-inject.c
parentfs: cachefiles: add support for large files in filesystem caching (diff)
downloadkernel-f7e1becb078c2b996420a61f2a411ef19335e2da.tar.gz
kernel-f7e1becb078c2b996420a61f2a411ef19335e2da.zip
include/linux/aio.h: cpp->C conversions
Convert init_sync_kiocb() from a nasty macro into a nice C function. The struct assignment trick takes care of zeroing all unmentioned fields. Shrinks fs/read_write.o's .text from 9857 bytes to 9714. Also demacroize is_sync_kiocb() and aio_ring_avail(). The latter fixes an arg-referenced-multiple-times hand grenade. Cc: Junxiao Bi <[email protected]> Cc: Mark Fasheh <[email protected]> Acked-by: Jeff Moyer <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions