X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fautofs%2Fsymlink.c;h=52e8772b066e33fece33d73ae5ddf30568c5b4ca;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=c74f2eb6577521ffec6f01bb1a7f0d21f66af5c1;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/fs/autofs/symlink.c b/fs/autofs/symlink.c index c74f2eb65..52e8772b0 100644 --- a/fs/autofs/symlink.c +++ b/fs/autofs/symlink.c @@ -15,7 +15,7 @@ /* Nothing to release.. */ static void *autofs_follow_link(struct dentry *dentry, struct nameidata *nd) { - char *s=((struct autofs_symlink *)dentry->d_inode->i_private)->data; + char *s=((struct autofs_symlink *)dentry->d_inode->u.generic_ip)->data; nd_set_link(nd, s); return NULL; }