Whamcloud - gitweb
LU-4660 osd-ldiskfs: fix osd_bufs_get() error handling 44/9344/7
authorAndriy Skylysh <Andriy_Skulysh@xyratex.com>
Tue, 16 Dec 2014 03:16:50 +0000 (20:16 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 21 Dec 2014 09:32:15 +0000 (09:32 +0000)
commit8ad05ae2dc7f34180353526920e80765fd7b82d4
treeb25850fb9726b8e0128bdea39b51133daabe233d
parente00d24d8d7642cf5897799226b84ce5a71913dc0
LU-4660 osd-ldiskfs: fix osd_bufs_get() error handling

Unlock pages just locked during cleanup if page loading failed.

Clean up code style, add function comment blocks.

Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ie523b0cfea30bc55ecd58db0849b1b005a393fc7
Reviewed-on: http://review.whamcloud.com/9344
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-ldiskfs/osd_io.c