]> www.infradead.org Git - users/hch/misc.git/commit
mm/swap: remove SWAP_FLAG_PRIO_SHIFT
authorBaoquan He <bhe@redhat.com>
Wed, 5 Feb 2025 09:27:12 +0000 (17:27 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 05:06:05 +0000 (22:06 -0700)
commit0eb7d2c337f9df3b6adbcbdce213595d94781e05
treefbfa7d797ef1226d6aea3b960ed28c977676f76e
parentcd57a3fb37f91ef6106bc970d2b5c5878d3b5627
mm/swap: remove SWAP_FLAG_PRIO_SHIFT

It doesn't make sense to have a zero value of shift.  Remove it to avoid
confusion.

Link: https://lkml.kernel.org/r/20250205092721.9395-4-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>
include/linux/swap.h
mm/swapfile.c