diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 1cd0b30455baf0599e6226a1d1a2143871711c7e..b04a7fa516d39a1917a70d9f2c8285543aaed07e 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -14,6 +14,12 @@ tbd Cluster File Systems, Inc. <info@clusterfs.com> * Note that reiserfs quotas are disabled on SLES 10 in this kernel. * bug fixes +Severity : normal +Frequency : SLES10 only +Bugzilla : 12538 +Description: sanity-quota.sh quotacheck failed: rc = -22 +Details : Quotas cannot be enabled on SLES10. + Severity : normal Frequency : sometimes when underlying device returns I/O errors Bugzilla : 11743 diff --git a/lustre/lvfs/fsfilt_ext3.c b/lustre/lvfs/fsfilt_ext3.c index 9634f4c32f2d2b4f2207519919c647f7c3fa368b..f00508925e1643e860f3522f68d2024f40c89cf9 100644 --- a/lustre/lvfs/fsfilt_ext3.c +++ b/lustre/lvfs/fsfilt_ext3.c @@ -1350,6 +1350,9 @@ static int fsfilt_ext3_setup(struct super_block *sb) #endif if (!EXT3_HAS_COMPAT_FEATURE(sb, EXT3_FEATURE_COMPAT_DIR_INDEX)) CWARN("filesystem doesn't have dir_index feature enabled\n"); +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)) && HAVE_QUOTA_SUPPORT + set_opt(EXT3_SB(sb)->s_mount_opt, QUOTA); +#endif return 0; } diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index c643b1be330b83457cf3cd55d1ebacb9b10596a3..ddbf886555e14e211764c603a27d8052444b562c 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -1677,6 +1677,8 @@ int filter_common_setup(struct obd_device *obd, obd_count len, void *buf, filter->fo_fstype = mnt->mnt_sb->s_type->name; CDEBUG(D_SUPER, "%s: mnt = %p\n", filter->fo_fstype, mnt); + fsfilt_setup(obd, obd->u.obt.obt_sb); + OBD_SET_CTXT_MAGIC(&obd->obd_lvfs_ctxt); obd->obd_lvfs_ctxt.pwdmnt = mnt; obd->obd_lvfs_ctxt.pwd = mnt->mnt_root;