Whamcloud - gitweb
LU-2753 llite: check alloc in ll_file_data_get, ll_dir_ioctl
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 26 Mar 2013 17:21:57 +0000 (12:21 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 1 Jun 2013 02:22:30 +0000 (22:22 -0400)
commit45a787b3c0b765cae77740c4a6322ae68265c68f
tree51ce6b7021894e3d3a9cf1f1c08f011166d0d407
parentfa691ac37ac6b8dfb2bd44b601d2a16245ed4001
LU-2753 llite: check alloc in ll_file_data_get, ll_dir_ioctl

In ll_file_data_get() and ll_dir_ioctl() return error on failed
allocations.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I122db2cede770261d75af209e92aa60d86ea85f2
Reviewed-on: http://review.whamcloud.com/5845
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Sebastien Buisson <sebastien.buisson@bull.net>
lustre/llite/dir.c
lustre/llite/file.c