]> git.itanic.dy.fi Git - linux-stable/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)
commita2ebba824106dabe79937a9f29a875f837e1b6d4
treeead9c0e05635f4827ec82eda32ab8021f1d767e2
parent9509941e9c534920ccc4771ae70bd6cbbe79df1c
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: 8b284dc47291 ("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