]> Gentwo Git Trees - linux/.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>
Sun, 23 Feb 2025 06:25:12 +0000 (22:25 -0800)
commit97f70343c01b7f9659e4df15d153ae155d9cb932
treec93fb9397d9bc2d92fd22495b0b86669ea023da3
parent70b1fb1b67d7e9b653b374384c77f31ed525828a
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