]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/buffer.c: remove redundant initialization in alloc_page_buffers()
authorYan Hong <clouds.yan@gmail.com>
Thu, 29 Nov 2012 03:18:12 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:23 +0000 (16:23 +1100)
commitadd96c71588eef3e407e953160f97f5bad1a66ec
treed2bb8b42a4ddf3833ac5f08f4334e3989dec5cbc
parent6ff1d8fcba0f73129ff3ee1b34345f6a3747144d
fs/buffer.c: remove redundant initialization in alloc_page_buffers()

buffer_head comes from kmem_cache_zalloc(), no need to zero its fields.

Signed-off-by: Yan Hong <clouds.yan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/buffer.c