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
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
fs
/
adfs
/
file.c
diff --git
a/fs/adfs/file.c
b/fs/adfs/file.c
index
afebbfd
..
1014b9f
100644
(file)
--- a/
fs/adfs/file.c
+++ b/
fs/adfs/file.c
@@
-19,17
+19,13
@@
*
* adfs regular file handling primitives
*/
*
* adfs regular file handling primitives
*/
-#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/fs.h>
-#include <linux/fcntl.h>
-#include <linux/time.h>
-#include <linux/stat.h>
#include <linux/buffer_head.h> /* for file_fsync() */
#include <linux/adfs_fs.h>
#include "adfs.h"
#include <linux/buffer_head.h> /* for file_fsync() */
#include <linux/adfs_fs.h>
#include "adfs.h"
-struct file_operations adfs_file_operations = {
+
const
struct file_operations adfs_file_operations = {
.llseek = generic_file_llseek,
.read = generic_file_read,
.mmap = generic_file_mmap,
.llseek = generic_file_llseek,
.read = generic_file_read,
.mmap = generic_file_mmap,