From: Wang Sheng-Hui Date: Wed, 6 Aug 2014 23:06:23 +0000 (-0700) Subject: mm: update the description for madvise_remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=54980b93c026ac24b7d5046597a254244eafcdeb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Naoya Horiguchi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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,