]> git.baikalelectronics.ru Git - kernel.git/commit
mm: move shmem prototypes to shmem_fs.h
authorHugh Dickins <hughd@google.com>
Mon, 27 Jun 2011 23:18:02 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Jun 2011 01:00:12 +0000 (18:00 -0700)
commited7ed47a9eaae2e67f3ce898084bb103e27a7634
tree6f059ad83c09dfbeb1def29e805839db3e5bf85f
parent5e3b261f0b4dd68bf9e18a47f30e1ad70953c8d1
mm: move shmem prototypes to shmem_fs.h

Before adding any more global entry points into shmem.c, gather such
prototypes into shmem_fs.h.  Remove mm's own declarations from swap.h,
but for now leave the ones in mm.h: because shmem_file_setup() and
shmem_zero_setup() are called from various places, and we should not
force other subsystems to update immediately.

Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/shmem_fs.h
include/linux/swap.h
mm/memcontrol.c
mm/swapfile.c