]> git.baikalelectronics.ru Git - kernel.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)
commitec8f44c9fbfc532fe75825b103671c9fe3ce21ac
tree07e493a5bfc0ab14c8d02c796b79152f9cc14043
parente0449b29d7d7983cba123cf1f976efdae388dece
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