]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()
authorMaurizio Lombardi <mlombard@redhat.com>
Tue, 4 Dec 2018 05:06:53 +0000 (00:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Dec 2018 05:06:53 +0000 (00:06 -0500)
commitb91ea7005040f40c1259172ee051b6bf524b381b
treed9c9ce5fd0e3cfe49b3fa9d068ce2a1215e37985
parentc5af02b1b29bec8fce1e74b369d4edc4113b082b
ext4: missing unlock/put_page() in ext4_try_to_write_inline_data()

In case of error, ext4_try_to_write_inline_data() should unlock
and release the page it holds.

Fixes: d0a39f0ee631 ("ext4: add normal write support for inline data")
Cc: stable@kernel.org # 3.8
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inline.c