From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6FB663A2 for ; Wed, 9 Aug 2023 07:55:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E68ECC433C8; Wed, 9 Aug 2023 07:55:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691567720; bh=0+0+5RYWZQq4xxQCKgGM0US6Ugvd2dyjwVoA5wrJW9o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SZN22mju2skgy/wgAtRHQJdlm4siIO8NMVa68yMTF7zXF7jdFMT/uF7QR6a6YSUcQ N0J95P8yshmpYa3f0bzhUFZT/x+GYwTZGPc+nWyG+ulvrzBveCFg0Wv1YdslQkv34h KgcWDSMdZqphHiYdiNUhQVOTYkszXLexSACXwR8/3pvzo+K+WnpexAW1ZOf5ih8dGs YVaSLWyKqLZmOu0ZN5CKKhyff0C7I+fCTc7C3Xz07imcsUI3Sr5PJEwpynw40m8QRS TjVlyf/nffTGIAwET4CgaG2aab/8++pzVW49ySCEG8nQu2fK98hDPLewi57eq6cbsg usP/dtwfD0aQg== Date: Wed, 9 Aug 2023 09:55:15 +0200 From: Christian Brauner To: Christoph Hellwig Cc: Al Viro , Namjae Jeon , Sungjong Seo , Theodore Ts'o , Andreas Dilger , Konstantin Komarov , "Darrick J. Wong" , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, ntfs3@lists.linux.dev, linux-xfs@vger.kernel.org Subject: Re: [PATCH 13/13] ntfs3: free the sbi in ->kill_sb Message-ID: <20230809-serienweise-backpulver-5ca2915ea3cf@brauner> References: <20230808161600.1099516-1-hch@lst.de> <20230808161600.1099516-14-hch@lst.de> Precedence: bulk X-Mailing-List: ntfs3@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230808161600.1099516-14-hch@lst.de> On Tue, Aug 08, 2023 at 09:16:00AM -0700, Christoph Hellwig wrote: > As a rule of thumb everything allocated to the fs_context and moved into > the super_block should be freed by ->kill_sb so that the teardown > handling doesn't need to be duplicated between the fill_super error > path and put_super. Implement an ntfs3-specific kill_sb method to do > that. > > Signed-off-by: Christoph Hellwig > --- Looks good to me, Reviewed-by: Christian Brauner