Skip to content
Commit c1d00b2d authored by Taesoo Kim's avatar Taesoo Kim Committed by Ilya Dryomov
Browse files

ceph: properly release page upon error



When ceph_update_writeable_page fails (including -EAGAIN), it
unlocks (w/ unlock_page) the page but does not 'release'
(w/ page_cache_release) properly.

Upon error, properly set *pagep to NULL, indicating an error.

Signed-off-by: default avatarTaesoo Kim <tsgatesv@gmail.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent 1fe48023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment