ext4: fix inline data error paths
authorTheodore Ts'o <tytso@mit.edu>
Sun, 5 Feb 2017 04:04:00 +0000 (23:04 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 5 Feb 2017 04:04:00 +0000 (23:04 -0500)
commiteb5efbcb762aee4b454b04f7115f73ccbcf8f0ef
treed8502cb44de45fe27a69b4b352bd763f2b1a1752
parent1c83a9aab807f7452c4957b2401e1cbf43941820
ext4: fix inline data error paths

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>
Cc: stable@vger.kernel.org
fs/ext4/inline.c
fs/ext4/inode.c