Re: [PATCH 1/1] ceph: properly release page upon error

2015-03-22 Thread 严正
> 在 2015年3月21日,05:36,Taesoo Kim 写道: > > 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

[PATCH 1/1] ceph: properly release page upon error

2015-03-20 Thread Taesoo Kim
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 --- fs/ceph/addr.c | 4 1 file changed, 4 inserti