ext4: fix inline data error paths

commit eb5efbcb76 upstream.

The write_end() function must always unlock the page and drop its ref
count, even on an error.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Theodore Ts'o 2017-02-04 23:04:00 -05:00 • committed by Greg Kroah-Hartman
commit 0b37d0c0c6
2 changed files with 23 additions and 6 deletions