diff options
author | Linus Torvalds | 2021-01-08 13:13:41 -0800 |
---|---|---|
committer | Linus Torvalds | 2021-01-16 10:46:39 -0800 |
commit | 29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb (patch) | |
tree | 04043448c9ada73ea98a6b573520e4b0c9ef8e14 /fs/binfmt_misc.c | |
parent | 1d94330a437a573cfdf848f6743b1ed169242c8a (diff) |
mm: fix clear_refs_write locking
Turning page table entries read-only requires the mmap_sem held for
writing.
So stop doing the odd games with turning things from read locks to write
locks and back. Just get the write lock.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions