Whamcloud - gitweb
LU-84 Allow building against kernel devel headers with quotas
authorNed Bass <bass6@llnl.gov>
Fri, 11 Feb 2011 20:12:19 +0000 (12:12 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 28 Mar 2011 21:32:29 +0000 (14:32 -0700)
commit560ade217a6de8960792b776ea0417e38c41192f
tree05d19526526407daf41f91f17eecbce21b359430
parente88e15f4513801c2a279fe7ff7631e972d0a23d4
LU-84 Allow building against kernel devel headers with quotas

The quota format definitions are normally found in private kernel
headers.  However, some sites build Lustre against kernel development
headers rather than than full kernel source. To accomodate this we add
the minimal set of required definitions to
lustre/include/lustre_quota.h which will take effect only if
quotaio_v*.h are not located at configure time.  The upstream version
of the 64-bit quota format patch in RHEL6 adds QFMT_VFS_V1 to
include/linux/quota.h, so configure can check for that if the
quotaio_v*.h headers aren't found.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Change-Id: Id627f21604f1e35f550adb972c7f0e0ca9edf115
Reviewed-on: http://review.whamcloud.com/295
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_quota.h
lustre/lvfs/fsfilt_ext3.c