diff options
author | 2013-10-02 15:01:07 +0400 | |
---|---|---|
committer | 2013-11-05 10:11:26 +0100 | |
commit | f6011081f5e290756bd90fe96f1e86d3eac76f77 (patch) | |
tree | 12c724c1dcb89f2618ff39457941593f10749a96 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cuse: add fix minor number to /dev/cuse (diff) | |
download | linux-dev-f6011081f5e290756bd90fe96f1e86d3eac76f77.tar.xz linux-dev-f6011081f5e290756bd90fe96f1e86d3eac76f77.zip |
fuse: writepages: roll back changes if request not found
fuse_writepage_in_flight() returns false if it fails to find request with
given index in fi->writepages. Then the caller proceeds with populating
data->orig_pages[] and incrementing req->num_pages. Hence,
fuse_writepage_in_flight() must revert changes it made in request before
returning false.
Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions