summaryrefslogtreecommitdiff
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2014-08-07 03:06:23 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-07 05:01:18 +0400
commit54980b93c026ac24b7d5046597a254244eafcdeb (patch)
tree9aca2f5f58a7b7630f225029d5b79d9687c877e6 /mm/madvise.c
parent4a262d265878477a46c842e47d1c2b5ce6f66477 (diff)
downloadlinux-54980b93c026ac24b7d5046597a254244eafcdeb.tar.xz
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/madvise.c')
-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,
/*
* Application wants to free up the pages and associated backing store.
* This is effectively punching a hole into the middle of a file.
- *
- * NOTE: Currently, only shmfs/tmpfs is supported for this operation.
- * Other filesystems return -ENOSYS.
*/
static long madvise_remove(struct vm_area_struct *vma,
struct vm_area_struct **prev,