@@ -1356,7 +1356,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
struct lov_user_md_v1 *lumv1_ptr = &lumv1;
struct lov_user_md_v1 __user *lumv1p = (void __user *)arg;
struct lov_user_md_v3 __user *lumv3p = (void __user *)arg;
- int lum_size;
+ int lum_size = 0;
int set_default = 0;
@@ -44,10 +44,10 @@
#include <linux/kernel.h>
#include <linux/types.h>
+#include <linux/quota.h>
#ifdef __KERNEL__
# include <linux/fs.h>
-# include <linux/quota.h>
# include <linux/sched/signal.h>
# include <linux/string.h> /* snprintf() */
# include <linux/version.h>
@@ -57,7 +57,6 @@
# include <stdbool.h>
# include <stdio.h> /* snprintf() */
# include <string.h>
-# include <sys/quota.h>
# include <sys/stat.h>
#endif /* __KERNEL__ */
#include <uapi/linux/lustre/lustre_fiemap.h>