]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/sysv/symlink.c
net: fib_rules: fix error code for unsupported families
[linux-2.6-omap-h63xx.git] / fs / sysv / symlink.c
index ed637db2dcb10293769768cb0b75ca3d6b619815..00d2f8a43e4eaefea0e35ba6108ef561d2852b52 100644 (file)
@@ -8,13 +8,13 @@
 #include "sysv.h"
 #include <linux/namei.h>
 
-static int sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
+static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd)
 {
        nd_set_link(nd, (char *)SYSV_I(dentry->d_inode)->i_data);
-       return 0;
+       return NULL;
 }
 
-struct inode_operations sysv_fast_symlink_inode_operations = {
+const struct inode_operations sysv_fast_symlink_inode_operations = {
        .readlink       = generic_readlink,
        .follow_link    = sysv_follow_link,
 };