projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow arch to initialize arch field of the module structure
[powerpc.git]
/
fs
/
smbfs
/
symlink.c
diff --git
a/fs/smbfs/symlink.c
b/fs/smbfs/symlink.c
index
cdc53c4
..
00b2909
100644
(file)
--- a/
fs/smbfs/symlink.c
+++ b/
fs/smbfs/symlink.c
@@
-6,7
+6,6
@@
* Please add a note about your changes to smbfs in the ChangeLog file.
*/
* Please add a note about your changes to smbfs in the ChangeLog file.
*/
-#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fcntl.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/fcntl.h>
@@
-14,7
+13,6
@@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
-#include <linux/smp_lock.h>
#include <linux/net.h>
#include <linux/namei.h>
#include <linux/net.h>
#include <linux/namei.h>
@@
-62,7
+60,7
@@
static void smb_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
__putname(s);
}
__putname(s);
}
-struct inode_operations smb_link_inode_operations =
+
const
struct inode_operations smb_link_inode_operations =
{
.readlink = generic_readlink,
.follow_link = smb_follow_link,
{
.readlink = generic_readlink,
.follow_link = smb_follow_link,