Whamcloud - gitweb
LU-5066 build: fix compile issues with newer gcc 78/9678/4
authorJames Simmons <uja.ornl@gmail.com>
Fri, 16 May 2014 13:41:14 +0000 (09:41 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 May 2014 18:42:43 +0000 (18:42 +0000)
commit5dfb0c04208d4e34ab76d0e4322c2a7d9e745d04
tree38cb58ce7809feca0d841029339ffb91c587a42a
parent559d1d2200fe764895120dfdf7d54ce33d99db5e
LU-5066 build: fix compile issues with newer gcc

Fixed the error: 'name' may be used uninitialized in
the osd_compact code. Also added padding to struct
shrinker for the posix layer otherwise gcc complies
it away and we end up with a build failure.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I164957525d572d9d7a58196e5b38fb1349745d44
Reviewed-on: http://review.whamcloud.com/9678
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/posix/libcfs.h
lustre/osd-ldiskfs/osd_compat.c