mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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>
This commit is contained in:
parent
8c84bf4166
commit
f3da93105b
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user