From c1a8fc7d1c4796050fe29c502fec497782871bbf Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Sat, 3 Sep 2005 15:54:31 -0700 Subject: [PATCH] --- yaml --- r: 6844 b: refs/heads/master c: b0d9bcd4bb79a7834f8492f2ae5c2655a551f23d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/mm/swapfile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 084013d10809..2a84d0719ca8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fd4fd5aac1282825195c6816ed40a2a6d42db5bf +refs/heads/master: b0d9bcd4bb79a7834f8492f2ae5c2655a551f23d diff --git a/trunk/mm/swapfile.c b/trunk/mm/swapfile.c index 60cd24a55204..9f46d83b4ece 100644 --- a/trunk/mm/swapfile.c +++ b/trunk/mm/swapfile.c @@ -926,7 +926,7 @@ add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, * requirements, they are simply tossed out - we will never use those blocks * for swapping. * - * For S_ISREG swapfiles we hold i_sem across the life of the swapon. This + * For S_ISREG swapfiles we set S_SWAPFILE across the life of the swapon. This * prevents root from shooting her foot off by ftruncating an in-use swapfile, * which will scribble on the fs. *