fs/reiserfs: use linux/uaccess.h
authorFabian Frederick <fabf@skynet.be>
Fri, 8 Aug 2014 21:21:12 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:21 +0000 (15:57 -0700)
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>
14 files changed:
fs/reiserfs/dir.c
fs/reiserfs/do_balan.c
fs/reiserfs/file.c
fs/reiserfs/ibalance.c
fs/reiserfs/inode.c
fs/reiserfs/ioctl.c
fs/reiserfs/lbalance.c
fs/reiserfs/procfs.c
fs/reiserfs/super.c
fs/reiserfs/xattr.c
fs/reiserfs/xattr_acl.c
fs/reiserfs/xattr_security.c
fs/reiserfs/xattr_trusted.c
fs/reiserfs/xattr_user.c

index d9f5a60dd59b4e3a393498368be7d16fd5ab14fd..0a7dc941aaf4dc7190b4ac3864765f6688b11683 100644 (file)
@@ -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;
 
index 54fdf196bfb29c736c0ecf89490a1688a5edaafe..5739cb99de7bdf7a1e3edf39a9e69d81016daa60 100644 (file)
@@ -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>
index db9e80ba53a0db5abe4910fa128bab1e6a2ee6ad..751dd3f4346b5dab98d7b4861cd24a617c148bae 100644 (file)
@@ -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>
index 73231b1ebdbe0d2121f586c7d0500bb6393cd82c..b751eea32e20733f496a16a52c37cd0f8c2d06a4 100644 (file)
@@ -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"
index 63b2b0ec49e6afacd955abf9f172751768ee08ee..a7eec9888f10f1d2e3f6b0f92bbddba8aaea21cc 100644 (file)
@@ -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>
index 501ed6811a2bd2cc283d75b3cec03e31502d9ad0..6ec8a30a0911b953e0c79ddcbd1458c8fc13142a 100644 (file)
@@ -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>
 
index d6744c8b24e12f6b2108109f05b31c0f88b5a2b7..814dda3ec998d770c9a0e50420599002b9353cc0 100644 (file)
@@ -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"
index 02b0b7d0f7d532e0ed0238161118ae627f5d9b7c..621b9f381fe1faed2925d1117e13ee4452129730 100644 (file)
@@ -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>
index debdb8e6726bc3e2c89e01211b1235f8c8938701..709ea92d716f03ca78b7e45b6f2677ac50b3ba1d 100644 (file)
@@ -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"
index ca416d099e7d5d25dc8a2061aa30a856b26a9ef4..40c13dd914a706b07cd03e4f93e749b90e2d9fe4 100644 (file)
@@ -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>
index 44503e29379030c891840f7df09a6a6fd76a98a5..4b34b9dc03dda9fffd8da5d3ab7221bd9ab139b7 100644 (file)
@@ -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,
index 800a3cef6f62726294a9f70a02eeab111af361b2..e7f8939a4cb5786cc1c8df46996c8926afcc066a 100644 (file)
@@ -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,
index a0035719f66baac61a6b1f7048bcd1f2d793ab30..5eeb0c48ba46deb225ec2cc94518746aebceabd3 100644 (file)
@@ -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,
index 8667491ae7c3ef864a1be3270325c19d6189b80a..e50eab0464711f6ebe363ca9f2bd7ff7767aab12 100644 (file)
@@ -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,