Skip to content
Commit a4f64a30 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christian Brauner
Browse files

ntfs3: free the sbi in ->kill_sb



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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Message-Id: <20230809220545.1308228-14-hch@lst.de>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 5f0fb221
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment