]> git.baikalelectronics.ru Git - kernel.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)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 6 Feb 2020 16:35:23 +0000 (17:35 +0100)
commita1d678cfc3118aa5c5d4fa49369e914b6d922c8d
tree1598ac0a5bbcde38cc7695918665a8bcb4bf5a92
parentc46592899801a0481ca9230b979f82b095ab2be5
gfs2: move setting current->backing_dev_info

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

Fixes: d11a253b7541 ("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>
fs/gfs2/file.c