summaryrefslogtreecommitdiffstats
path: root/fs/ufs/symlink.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-24 01:02:24 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-24 01:02:24 -0400
commit343b0597297c3190647854881c087c01faf40a6f (patch)
tree81cf818936bfd4aff891d1ca4d4ea4d47b2d1631 /fs/ufs/symlink.c
parentb2dabd5aadae6a93026f35269e1e53c1a0c6de2d (diff)
parentb2382b363df828f25e35ed8b70a3da33b29b2a64 (diff)
downloadlinux-343b0597297c3190647854881c087c01faf40a6f.tar.gz
linux-343b0597297c3190647854881c087c01faf40a6f.tar.bz2
linux-343b0597297c3190647854881c087c01faf40a6f.zip
/spare/repo/netdev-2.6 branch 'ieee80211'
Diffstat (limited to 'fs/ufs/symlink.c')
-rw-r--r--fs/ufs/symlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/symlink.c b/fs/ufs/symlink.c
index a0e49149098f..337512ed5781 100644
--- a/fs/ufs/symlink.c
+++ b/fs/ufs/symlink.c
@@ -29,11 +29,11 @@
#include <linux/namei.h>
#include <linux/ufs_fs.h>
-static int ufs_follow_link(struct dentry *dentry, struct nameidata *nd)
+static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd)
{
struct ufs_inode_info *p = UFS_I(dentry->d_inode);
nd_set_link(nd, (char*)p->i_u1.i_symlink);
- return 0;
+ return NULL;
}
struct inode_operations ufs_fast_symlink_inode_operations = {