Whamcloud - gitweb
LU-709 build: clean up i_mutex/i_private/quota_info macros
authorPeng Tao <tao.peng@emc.com>
Tue, 15 May 2012 06:28:48 +0000 (14:28 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jul 2012 04:18:03 +0000 (00:18 -0400)
commitaca8e7a05cf52774c7233b6c21ba5172b3b2b3c2
tree81900e01dae494a63e1fefe39c7fe7de15c33c05
parent0a9c652a6a8a24504278715cc17f783b20b225c2
LU-709 build: clean up i_mutex/i_private/quota_info macros

1. struct inode has i_mutex instead of i_sem since v2.6.16
2. struct inode has i_private since v2.6.17
3. struct quota_info uses mutex instead semaphore since v2.6.17
4. move LC_SECURITY_PLUG to under v2.6.27

Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: I587d18a8d63927aa0a668268d252f71e7f224b50
Reviewed-on: http://review.whamcloud.com/2318
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
20 files changed:
lustre/autoconf/lustre-core.m4
lustre/include/linux/lustre_compat25.h
lustre/include/linux/lvfs.h
lustre/llite/llite_lib.c
lustre/llite/lloop.c
lustre/llite/rw.c
lustre/llite/rw26.c
lustre/llite/vvp_io.c
lustre/llite/vvp_page.c
lustre/lvfs/fsfilt_ext3.c
lustre/lvfs/lvfs_linux.c
lustre/lvfs/quotafmt_test.c
lustre/mds/mds_fs.c
lustre/obdclass/llog_lvfs.c
lustre/obdfilter/filter.c
lustre/obdfilter/filter_io_26.c
lustre/obdfilter/filter_log.c
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_handler.c
lustre/quota/quota_context.c