From: Matthew Wilcox Date: Fri, 3 Jul 2015 14:40:43 +0000 (-0400) Subject: dax: bdev_direct_access() may sleep X-Git-Tag: omap-for-v4.2/fixes-rc1^2~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c3dd08da890e458f670b4fc0630513fb405620;p=pandora-kernel.git dax: bdev_direct_access() may sleep 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed