diff options
| author | Hugh Dickins <[email protected]> | 2011-07-25 17:12:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-07-25 20:57:11 -0700 |
| commit | 48f170fb7d7db8789ccc23e051af61f62af5f685 (patch) | |
| tree | d4dcb91583b7b831a20deed6979be713ad2892b7 /include/linux/debugobjects.h | |
| parent | 27ab700626f048407e9466d389a43c7d3aa45967 (diff) | |
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 <[email protected]>
Cc: Erez Zadok <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions