diff options
author | Jeff Liu <jeff.liu@oracle.com> | 2012-05-28 17:40:17 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-07-09 12:03:11 +0200 |
commit | f3da93105b6963a2be2a56dee27fdc88ac4ad769 (patch) | |
tree | c29df87865f025284a2fe6aaeb426f4859fb5253 /fs/quota | |
parent | Merge branch 'for-3.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-f3da93105b6963a2be2a56dee27fdc88ac4ad769.tar.xz linux-f3da93105b6963a2be2a56dee27fdc88ac4ad769.zip |
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.c | 2 | ||||
-rw-r--r-- | fs/quota/quota.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index 10cbe841cb7e..0c541dcbdf07 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 9a391204ca27..639782d5a76f 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> |