git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
fs
/
ufs
/
file.c
diff --git
a/fs/ufs/file.c
b/fs/ufs/file.c
index
312fd3f
..
ed69d7f
100644
(file)
--- a/
fs/ufs/file.c
+++ b/
fs/ufs/file.c
@@
-23,15
+23,25
@@
* ext2 fs regular file handling primitives
*/
* ext2 fs regular file handling primitives
*/
+#include <asm/uaccess.h>
+#include <asm/system.h>
+
+#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/ufs_fs.h>
#include <linux/fs.h>
#include <linux/ufs_fs.h>
+#include <linux/fcntl.h>
+#include <linux/time.h>
+#include <linux/stat.h>
+#include <linux/mm.h>
+#include <linux/pagemap.h>
+#include <linux/smp_lock.h>
/*
* We have mostly NULL's here: the current defaults are ok for
* the ufs filesystem.
*/
/*
* We have mostly NULL's here: the current defaults are ok for
* the ufs filesystem.
*/
-
const
struct file_operations ufs_file_operations = {
+struct file_operations ufs_file_operations = {
.llseek = generic_file_llseek,
.read = generic_file_read,
.write = generic_file_write,
.llseek = generic_file_llseek,
.read = generic_file_read,
.write = generic_file_write,