diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-08-18 00:44:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-18 01:20:27 +0200 |
commit | a10dcebacdb0cf6eb29c211e99cf190cd131a16a (patch) | |
tree | d85f53c3e3582e99406da0fee740c63d791971f1 /tools | |
parent | scripts: add Python 3 compatibility to spdxcheck.py (diff) | |
download | linux-a10dcebacdb0cf6eb29c211e99cf190cd131a16a.tar.xz linux-a10dcebacdb0cf6eb29c211e99cf190cd131a16a.zip |
fs/ntfs/aops.c: don't disable interrupts during kmap_atomic()
ntfs_end_buffer_async_read() disables interrupts around kmap_atomic().
This is a leftover from the old kmap_atomic() implementation which
relied on fixed mapping slots, so the caller had to make sure that the
same slot could not be reused from an interrupting context.
kmap_atomic() was changed to dynamic slots long ago and commit
1ec9c5ddc17a ("include/linux/highmem.h: remove the second argument of
k[un]map_atomic()") removed the slot assignements, but the callers were
not checked for now redundant interrupt disabling.
Remove the conditional interrupt disable.
Link: http://lkml.kernel.org/r/20180611144913.gln5mklhqcrfsoom@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Anton Altaparmakov <anton@tuxera.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions