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>
Fri, 31 May 2013 16:34:27 +0000 (12:34 -0400)
commit86dc491a90fd3fcbd329d8844b7398a40e59644e
treeb003ba10ef7dabd3c71d48dadd5efbaf29b29847
parent784bbd385b22b6578bb98691f3bb130a1ed84dc6
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