]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: move setting current->backing_dev_info
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Jan 2020 15:38:29 +0000 (16:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:35:35 +0000 (04:35 -0800)
commit637348690865fedfb10701fd5bacceb9822330a6
tree1c16befbf9df19634ca713c234b13b8dac80268c
parentc61b93fae603ef212e95c6071ca4db9afe3ab782
gfs2: move setting current->backing_dev_info

commit 4c0e8dda608a51855225c611b5c6b442f95fbc56 upstream.

Set current->backing_dev_info just around the buffered write calls to
prepare for the next fix.

Fixes: 967bcc91b044 ("gfs2: iomap direct I/O support")
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/gfs2/file.c