aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2011-06-27 23:18:19 +0000
committerLinus Torvalds <[email protected]>2011-06-28 01:00:14 +0000
commite2377fe0b65e3c7577ff6df1701c56ef477d336f (patch)
treeba110d07556128a0eff42496294c7dd4880ecfd7 /fs/ubifs/commit.c
parentdrm/i915: use shmem_read_mapping_page (diff)
downloadkernel-e2377fe0b65e3c7577ff6df1701c56ef477d336f.tar.gz
kernel-e2377fe0b65e3c7577ff6df1701c56ef477d336f.zip
drm/i915: use shmem_truncate_range
The interface to ->truncate_range is changing very slightly: once "tmpfs: take control of its truncate_range" has been applied, this can be applied. For now there is only a slight inefficiency while this remains unapplied, but it will soon become essential for managing shmem's use of swap. Change i915_gem_object_truncate() to use shmem_truncate_range() directly: which should also spare i915 later change if we switch from inode_operations->truncate_range to file_operations->fallocate. Signed-off-by: Hugh Dickins <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Keith Packard <[email protected]> Cc: Dave Airlie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions