From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: [PATCH] logfs: fix a pagecache leak for symlinks Date: Tue, 21 Apr 2015 15:51:31 +0100 Message-ID: <20150421145131.GS889@ZenIV.linux.org.uk> References: <20150420181222.GK889@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Joern Engel , linux-fsdevel@vger.kernel.org To: Linus Torvalds Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:37060 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbbDUOvc (ORCPT ); Tue, 21 Apr 2015 10:51:32 -0400 Content-Disposition: inline In-Reply-To: <20150420181222.GK889@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- diff --git a/fs/logfs/dir.c b/fs/logfs/dir.c index 4cf38f1..f9b45d4 100644 --- a/fs/logfs/dir.c +++ b/fs/logfs/dir.c @@ -779,6 +779,7 @@ fail: const struct inode_operations logfs_symlink_iops = { .readlink = generic_readlink, .follow_link = page_follow_link_light, + .put_link = page_put_link, }; const struct inode_operations logfs_dir_iops = {