projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dlmfs_file_write(): get rid of pointless access_ok()
[linux-2.6-microblaze.git]
/
fs
/
ocfs2
/
dlmfs
/
dlmfs.c
diff --git
a/fs/ocfs2/dlmfs/dlmfs.c
b/fs/ocfs2/dlmfs/dlmfs.c
index
1de77f1
..
a06f19b
100644
(file)
--- a/
fs/ocfs2/dlmfs/dlmfs.c
+++ b/
fs/ocfs2/dlmfs/dlmfs.c
@@
-291,9
+291,6
@@
static ssize_t dlmfs_file_write(struct file *filp,
if (!count)
return 0;
- if (!access_ok(buf, count))
- return -EFAULT;
-
lvb_buf = kmalloc(count, GFP_NOFS);
if (!lvb_buf)
return -ENOMEM;