diff options
author | Hugh Dickins <hughd@google.com> | 2011-07-26 04:12:37 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 07:57:11 +0400 |
commit | 48f170fb7d7db8789ccc23e051af61f62af5f685 (patch) | |
tree | d4dcb91583b7b831a20deed6979be713ad2892b7 /Documentation/powerpc | |
parent | 27ab700626f048407e9466d389a43c7d3aa45967 (diff) | |
download | linux-48f170fb7d7db8789ccc23e051af61f62af5f685.tar.xz |
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 'Documentation/powerpc')
0 files changed, 0 insertions, 0 deletions