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 core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
affs
/
symlink.c
diff --git
a/fs/affs/symlink.c
b/fs/affs/symlink.c
index
4ef626e
..
f802256
100644
(file)
--- a/
fs/affs/symlink.c
+++ b/
fs/affs/symlink.c
@@
-8,14
+8,7
@@
* affs symlink handling code
*/
* affs symlink handling code
*/
-#include <linux/errno.h>
-#include <linux/fs.h>
-#include <linux/stat.h>
-#include <linux/affs_fs.h>
-#include <linux/amigaffs.h>
-#include <linux/pagemap.h>
-#include <linux/smp_lock.h>
-#include <linux/buffer_head.h>
+#include "affs.h"
static int affs_symlink_readpage(struct file *file, struct page *page)
{
static int affs_symlink_readpage(struct file *file, struct page *page)
{
@@
-73,7
+66,7
@@
fail:
return err;
}
return err;
}
-struct address_space_operations affs_symlink_aops = {
+
const
struct address_space_operations affs_symlink_aops = {
.readpage = affs_symlink_readpage,
};
.readpage = affs_symlink_readpage,
};