X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fautofs%2Fsymlink.c;h=7ce9cb2c9ce21f74db531eef41d5df420feca5af;hb=54e840dd5021ae03c5d2b4158b191bb67f584b75;hp=52e8772b066e33fece33d73ae5ddf30568c5b4ca;hpb=efda9452046bdd707b23a85b7846ec33548f84f1;p=linux-2.6-omap-h63xx.git diff --git a/fs/autofs/symlink.c b/fs/autofs/symlink.c index 52e8772b066..7ce9cb2c9ce 100644 --- a/fs/autofs/symlink.c +++ b/fs/autofs/symlink.c @@ -15,12 +15,12 @@ /* Nothing to release.. */ static void *autofs_follow_link(struct dentry *dentry, struct nameidata *nd) { - char *s=((struct autofs_symlink *)dentry->d_inode->u.generic_ip)->data; + char *s=((struct autofs_symlink *)dentry->d_inode->i_private)->data; nd_set_link(nd, s); return NULL; } -struct inode_operations autofs_symlink_inode_operations = { +const struct inode_operations autofs_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = autofs_follow_link };