Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:48891 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678Ab1AELmD (ORCPT ); Wed, 5 Jan 2011 06:42:03 -0500 Date: Wed, 5 Jan 2011 11:41:55 +0000 From: Al Viro To: "Kirill A. Shutemov" Cc: Trond Myklebust , "J. Bruce Fields" , Neil Brown , Pavel Emelyanov , linux-nfs@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 00/12] make rpc_pipefs be mountable multiple time Message-ID: <20110105114155.GN19804@ZenIV.linux.org.uk> References: <1293628470-28386-1-git-send-email-kas@openvz.org> Content-Type: text/plain; charset=us-ascii In-Reply-To: <1293628470-28386-1-git-send-email-kas@openvz.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Wed, Dec 29, 2010 at 03:14:18PM +0200, Kirill A. Shutemov wrote: > Prepare nfs/sunrpc stack to use multiple instances of rpc_pipefs. Won't that make sunrpc impossible to rmmod once you've got it in? Note that having a reference to vfsmount pins it down, which pins the superblock down, which pins the file_system_type down, which pins the damn module down. So cleanup_sunrpc() won't be ever called, AFAICS...