]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/aio.c
aio: use the macro rather than the inline magic number
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 23 Jul 2014 10:03:52 +0000 (18:03 +0800)
committerBenjamin LaHaise <bcrl@kvack.org>
Thu, 24 Jul 2014 14:59:40 +0000 (10:59 -0400)
commit8dc4379e17cddad7b2088a3f300ded50d2a6d493
tree64c2162c7ec7aec92ea41add4cb442d872754356
parentb53f1f82fbde8dcf34ab7d731c2a9ae6f0d8d2e2
aio: use the macro rather than the inline magic number

Replace the inline magic number with the ready-made macro(AIO_RING_MAGIC),
just clean up.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c