aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2014-08-06 19:06:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 21:01:18 -0400
commit54980b93c026ac24b7d5046597a254244eafcdeb (patch)
tree9aca2f5f58a7b7630f225029d5b79d9687c877e6 /mm
parent4a262d265878477a46c842e47d1c2b5ce6f66477 (diff)
mm: update the description for madvise_remove
Currently, we have more filesystems supporting fallocate, e.g ext4/btrfs. Remove the outdated comment for madvise_remove. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/madvise.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/madvise.c b/mm/madvise.c
index a402f8fdc68e..0938b30da4ab 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -292,9 +292,6 @@ static long madvise_dontneed(struct vm_area_struct *vma,
292/* 292/*
293 * Application wants to free up the pages and associated backing store. 293 * Application wants to free up the pages and associated backing store.
294 * This is effectively punching a hole into the middle of a file. 294 * This is effectively punching a hole into the middle of a file.
295 *
296 * NOTE: Currently, only shmfs/tmpfs is supported for this operation.
297 * Other filesystems return -ENOSYS.
298 */ 295 */
299static long madvise_remove(struct vm_area_struct *vma, 296static long madvise_remove(struct vm_area_struct *vma,
300 struct vm_area_struct **prev, 297 struct vm_area_struct **prev,