summaryrefslogtreecommitdiffstats
path: root/fs/adfs/map.c
diff options
context:
space:
mode:
authorRussell King2019-06-04 15:49:30 +0200
committerAl Viro2019-06-27 02:14:13 +0200
commit1dfdfc94730bde781c87b25fd606f6dfaffe9097 (patch)
treed9bea48d5933b429b1ded67b9fc3f099d4c6c7ed /fs/adfs/map.c
parentfs/adfs: correct disc record structure (diff)
downloadkernel-qcow2-linux-1dfdfc94730bde781c87b25fd606f6dfaffe9097.tar.gz
kernel-qcow2-linux-1dfdfc94730bde781c87b25fd606f6dfaffe9097.tar.xz
kernel-qcow2-linux-1dfdfc94730bde781c87b25fd606f6dfaffe9097.zip
fs/adfs: add helper to get discrecord from map
Add a helper to get the disc record from the map, rather than open coding this in adfs_fill_super(). Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs/map.c')
-rw-r--r--fs/adfs/map.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/adfs/map.c b/fs/adfs/map.c
index 6935f05202ac..5f2d9d775305 100644
--- a/fs/adfs/map.c
+++ b/fs/adfs/map.c
@@ -7,7 +7,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/buffer_head.h>
#include <asm/unaligned.h>
#include "adfs.h"