]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63b5c7cab9570c302137509611709806e7581446
treed8502cb44de45fe27a69b4b352bd763f2b1a1752
parentd4d3671d5d86651cbc52577c4f59bfc180dbdd9d
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