summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorHugh Dickins2011-07-26 02:12:37 +0200
committerLinus Torvalds2011-07-26 05:57:11 +0200
commit48f170fb7d7db8789ccc23e051af61f62af5f685 (patch)
treed4dcb91583b7b831a20deed6979be713ad2892b7 /mm/page-writeback.c
parenttmpfs: simplify filepage/swappage (diff)
downloadkernel-qcow2-linux-48f170fb7d7db8789ccc23e051af61f62af5f685.tar.gz
kernel-qcow2-linux-48f170fb7d7db8789ccc23e051af61f62af5f685.tar.xz
kernel-qcow2-linux-48f170fb7d7db8789ccc23e051af61f62af5f685.zip
tmpfs: simplify unuse and writepage
shmem_unuse_inode() and shmem_writepage() contain a little code to cope with pages inserted independently into the filecache, probably by a filesystem stacked on top of tmpfs, then fed to its ->readpage() or ->writepage(). Unionfs was indeed experimenting with working in that way three years ago, but I find no current examples: nowadays the stacking filesystems use vfs interfaces to the lower filesystem. It's now illegal: remove most of that code, adding some WARN_ON_ONCEs. Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Erez Zadok <ezk@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions