]> 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)
commit2193cdbbe97805d879b527cc9f3d40ed94349553
treed8502cb44de45fe27a69b4b352bd763f2b1a1752
parent8b8b0f864b8df4b5daaf2840bd6c453f55c93368
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