Whamcloud - gitweb
Branch b1_8_gate
authoranserper <anserper>
Tue, 30 Sep 2008 11:56:03 +0000 (11:56 +0000)
committeranserper <anserper>
Tue, 30 Sep 2008 11:56:03 +0000 (11:56 +0000)
b=17059
i=ZhiYong Tian
i=Johann Lombardi

Always build quota support with client

lustre/llite/dir.c

index 8bee3df..dcb43b5 100644 (file)
@@ -1362,7 +1362,6 @@ static int ll_dir_ioctl(struct inode *inode, struct file *file,
                 obd_ioctl_freedata(buf, len);
                 RETURN(rc);
         }
-#ifdef HAVE_QUOTA_SUPPORT
         case OBD_IOC_QUOTACHECK: {
                 struct obd_quotactl *oqctl;
                 int rc, error = 0;
@@ -1534,7 +1533,6 @@ static int ll_dir_ioctl(struct inode *inode, struct file *file,
                 OBD_FREE_PTR(oqctl);
                 RETURN(rc);
         }
-#endif /* HAVE_QUOTA_SUPPORT */
         case OBD_IOC_GETNAME_OLD:
         case OBD_IOC_GETNAME: {
                 struct obd_device *obd = class_exp2obd(sbi->ll_osc_exp);