diff --git a/[refs] b/[refs] index 046938e96615..770a06eebfd5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6ab86aa13045e7f6742af0b3c3c45f952f9fbb8d +refs/heads/master: 9bf2aa129a107a0e9e2a5318d35aca731ae7e666 diff --git a/trunk/fs/nfs/symlink.c b/trunk/fs/nfs/symlink.c index 636c479995bc..600bbe630abd 100644 --- a/trunk/fs/nfs/symlink.c +++ b/trunk/fs/nfs/symlink.c @@ -75,22 +75,13 @@ static void *nfs_follow_link(struct dentry *dentry, struct nameidata *nd) return NULL; } -static void nfs_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) -{ - if (cookie) { - struct page *page = cookie; - kunmap(page); - page_cache_release(page); - } -} - /* * symlinks can't do much... */ struct inode_operations nfs_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = nfs_follow_link, - .put_link = nfs_put_link, + .put_link = page_put_link, .getattr = nfs_getattr, .setattr = nfs_setattr, };