]> asedeno.scripts.mit.edu Git - linux.git/commit
mm/swapfile.c: fix a comment in sys_swapon()
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Feb 2020 04:04:15 +0000 (20:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Feb 2020 19:22:15 +0000 (11:22 -0800)
commitfed98ef4d8b665316479dd35cbd92d3e2ff470a3
tree07e493a5bfc0ab14c8d02c796b79152f9cc14043
parent0ef82fcefb99300ede6f4d38a8100845b2dc8e30
mm/swapfile.c: fix a comment in sys_swapon()

claim_swapfile now always takes i_rwsem.

Link: http://lkml.kernel.org/r/20200114161225.309792-2-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swapfile.c