mirror of https://gitee.com/openkylin/linux.git
fs/reiserfs: use linux/uaccess.h
Fix checkpatch warning WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
53872ed077
commit
17093991af
|
@ -9,7 +9,7 @@
|
|||
#include <linux/stat.h>
|
||||
#include <linux/buffer_head.h>
|
||||
#include <linux/slab.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
extern const struct reiserfs_key MIN_KEY;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* and using buffers obtained after all above.
|
||||
*/
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/time.h>
|
||||
#include "reiserfs.h"
|
||||
#include <linux/buffer_head.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "reiserfs.h"
|
||||
#include "acl.h"
|
||||
#include "xattr.h"
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/pagemap.h>
|
||||
#include <linux/swap.h>
|
||||
#include <linux/writeback.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
|
||||
*/
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/time.h>
|
||||
#include "reiserfs.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <linux/pagemap.h>
|
||||
#include <linux/highmem.h>
|
||||
#include <linux/slab.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <linux/buffer_head.h>
|
||||
#include <linux/mpage.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <linux/mount.h>
|
||||
#include "reiserfs.h"
|
||||
#include <linux/time.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/pagemap.h>
|
||||
#include <linux/compat.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
|
||||
*/
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/time.h>
|
||||
#include "reiserfs.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <linux/module.h>
|
||||
#include <linux/time.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include "reiserfs.h"
|
||||
#include <linux/init.h>
|
||||
#include <linux/proc_fs.h>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <linux/slab.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/time.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include "reiserfs.h"
|
||||
#include "acl.h"
|
||||
#include "xattr.h"
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include <linux/xattr.h>
|
||||
#include "xattr.h"
|
||||
#include "acl.h"
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <net/checksum.h>
|
||||
#include <linux/stat.h>
|
||||
#include <linux/quotaops.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <linux/posix_acl_xattr.h>
|
||||
#include "xattr.h"
|
||||
#include "acl.h"
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static int __reiserfs_set_acl(struct reiserfs_transaction_handle *th,
|
||||
struct inode *inode, int type,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <linux/slab.h>
|
||||
#include "xattr.h"
|
||||
#include <linux/security.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static int
|
||||
security_get(struct dentry *dentry, const char *name, void *buffer, size_t size,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <linux/pagemap.h>
|
||||
#include <linux/xattr.h>
|
||||
#include "xattr.h"
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static int
|
||||
trusted_get(struct dentry *dentry, const char *name, void *buffer, size_t size,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <linux/pagemap.h>
|
||||
#include <linux/xattr.h>
|
||||
#include "xattr.h"
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static int
|
||||
user_get(struct dentry *dentry, const char *name, void *buffer, size_t size,
|
||||
|
|
Loading…
Reference in New Issue