diff options
author | Baoquan He <bhe@redhat.com> | 2025-02-05 17:27:20 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-16 22:06:07 -0700 |
commit | 4ccd4154fafff5516103051bc9162c33d832b880 (patch) | |
tree | fb76e4dd1c654c4b6dbc8186ec8bd9b04fe9633f /mm/mmap_lock.c | |
parent | c523aa890760b004eea47a0e00b5750a528f3ced (diff) | |
download | linux-4ccd4154fafff5516103051bc9162c33d832b880.tar.gz linux-4ccd4154fafff5516103051bc9162c33d832b880.tar.bz2 linux-4ccd4154fafff5516103051bc9162c33d832b880.zip |
mm/swapfile.c: remove the incorrect code comment
Since commit eb085574a752 ("mm, swap: fix race between swapoff and some
swap operations"), the non_swap_entry() checking has been taken off from
function __swap_duplicate(). Hence, in the kernel-doc comment, the line
'swp_entry is migration entry -> EINVAL' is obsolete. Remove that line to
avoid misleading people.
Link: https://lkml.kernel.org/r/20250205092721.9395-12-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mmap_lock.c')
0 files changed, 0 insertions, 0 deletions