summaryrefslogtreecommitdiffstats
path: root/fs/quota
diff options
context:
space:
mode:
authorJeff Liu <jeff.liu@oracle.com>2012-05-28 23:40:17 +0800
committerJan Kara <jack@suse.cz>2012-07-09 12:03:11 +0200
commitf3da93105b6963a2be2a56dee27fdc88ac4ad769 (patch)
treec29df87865f025284a2fe6aaeb426f4859fb5253 /fs/quota
parent8c84bf4166a4698296342841a549bbee03860ac0 (diff)
downloadop-kernel-dev-f3da93105b6963a2be2a56dee27fdc88ac4ad769.zip
op-kernel-dev-f3da93105b6963a2be2a56dee27fdc88ac4ad769.tar.gz
quota: fix checkpatch.pl warning by replacing <asm/uaccess.h> with <linux/uaccess.h>
checkpatch.pl warns: "WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>" Below patch fixes it. Signed-off-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota')
-rw-r--r--fs/quota/dquot.c2
-rw-r--r--fs/quota/quota.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 10cbe84..0c541dc 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -78,7 +78,7 @@
#include <linux/quotaops.h>
#include "../internal.h" /* ugh */
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
/*
* There are three quota SMP locks. dq_list_lock protects all lists with quotas
diff --git a/fs/quota/quota.c b/fs/quota/quota.c
index 9a39120..639782d 100644
--- a/fs/quota/quota.c
+++ b/fs/quota/quota.c
@@ -9,7 +9,7 @@
#include <linux/namei.h>
#include <linux/slab.h>
#include <asm/current.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#include <linux/kernel.h>
#include <linux/security.h>
#include <linux/syscalls.h>
OpenPOWER on IntegriCloud