summaryrefslogtreecommitdiffstats
path: root/fs/ceph/debugfs.c
diff options
context:
space:
mode:
authorTaesoo Kim <tsgatesv@gmail.com>2015-03-20 22:36:56 +0100
committerIlya Dryomov <idryomov@gmail.com>2015-04-20 17:55:34 +0200
commitc1d00b2d9c4fc821e33c5cdfbdbc32677cb0e2e0 (patch)
tree619b91acc56d2f807fdd979db42b226321e19ae8 /fs/ceph/debugfs.c
parentrbd: be more informative on -ENOENT failures (diff)
downloadlinux-c1d00b2d9c4fc821e33c5cdfbdbc32677cb0e2e0.tar.xz
linux-c1d00b2d9c4fc821e33c5cdfbdbc32677cb0e2e0.zip
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: Taesoo Kim <tsgatesv@gmail.com> Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/debugfs.c')
0 files changed, 0 insertions, 0 deletions