https://github.com/torvalds/linux
Revision 43c3dd08da890e458f670b4fc0630513fb405620 authored by Matthew Wilcox on 03 July 2015, 14:40:43 UTC, committed by Al Viro on 04 July 2015, 19:56:57 UTC
The brd driver is the only in-tree driver that may sleep currently.
After some discussion on linux-fsdevel, we decided that any driver
may choose to sleep in its ->direct_access method.  To ensure that all
callers of bdev_direct_access() are prepared for this, add a call
to might_sleep().

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent bbab37d
History
Tip revision: 43c3dd08da890e458f670b4fc0630513fb405620 authored by Matthew Wilcox on 03 July 2015, 14:40:43 UTC
dax: bdev_direct_access() may sleep
Tip revision: 43c3dd0
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 302.4 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top