]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: decrement NR_WRITEBACK_TEMP on the right page
authorMiklos Szeredi <mszeredi@redhat.com>
Wed, 16 Jan 2019 09:27:59 +0000 (10:27 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 16 Jan 2019 09:27:59 +0000 (10:27 +0100)
commit7434495f33afff1954d212b915aa6d953c0a4a78
treeead9c0e05635f4827ec82eda32ab8021f1d767e2
parent7ff0413526c7eff4380483a54b560e8a3253721d
fuse: decrement NR_WRITEBACK_TEMP on the right page

NR_WRITEBACK_TEMP is accounted on the temporary page in the request, not
the page cache page.

Fixes: c6e9d5afa5bb ("fuse: writepages: handle same page rewrites")
Cc: <stable@vger.kernel.org> # v3.13
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c