commit | 7f305ca1928d8b7db69f428b10988a3aa3e81053 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Wed Jan 16 10:27:59 2019 +0100 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Feb 13 13:15:12 2019 +0100 |
tree | 1bf72aa67967f9282c4e51b0babb1c3383475f93 | |
parent | 2fe93bd43264242e4568763d1b183b1cc58066ff [diff] |
fuse: clean up fuse_writepage_in_flight() Restructure the function to better separate the locked and the unlocked parts. Use the "old_req" local variable to mean only the queued request, and not any auxiliary requests added onto its misc.write.next list. These changes are in preparation for the following patch. Also turn BUG_ON instances into WARN_ON and add a header comment explaining what the function does. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>