summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorBrent Taylor <motobud@gmail.com>2017-10-31 06:32:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-05 13:22:51 +0300
commitc8ea49b690eef5c180369a8d132c5e50a74b3acf (patch)
tree7e437ebb73afca634f6177244654807889538309 /fs/nfs
parenta155a9568d9abf50fe4913c4bf7b46a8281d3dc3 (diff)
downloadlinux-c8ea49b690eef5c180369a8d132c5e50a74b3acf.tar.xz
mtd: nand: Fix writing mtdoops to nand flash.
commit 30863e38ebeb500a31cecee8096fb5002677dd9b upstream. When mtdoops calls mtd_panic_write(), it eventually calls panic_nand_write() in nand_base.c. In order to properly wait for the nand chip to be ready in panic_nand_wait(), the chip must first be selected. When using the atmel nand flash controller, a panic would occur due to a NULL pointer exception. Fixes: 2af7c6539931 ("mtd: Add panic_write for NAND flashes") Cc: <stable@vger.kernel.org> Signed-off-by: Brent Taylor <motobud@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions