fs/adfs: map: factor out map cleanup
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 9 Dec 2019 11:08:44 +0000 (11:08 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Jan 2020 01:12:40 +0000 (20:12 -0500)
commit7b1952676256d2cdc03d0415a4c0e6bfb64e00ff
tree1525b175967b2907484ea4ebbe2693bcb3c06694
parent6092b6be304494e311b65935f5e09b510cbd57cc
fs/adfs: map: factor out map cleanup

We have several places which deal with releasing the map buffers and
freeing the map array.  Provide a helper for this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/adfs/adfs.h
fs/adfs/map.c
fs/adfs/super.c