summaryrefslogtreecommitdiffstats
path: root/fs/adfs/adfs.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-09 11:09:25 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2020-01-20 20:12:41 -0500
commitacf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5 (patch)
treeb1e0990adac6a249f3dcb192d47ace4f90734fb3 /fs/adfs/adfs.h
parent1dd9f5babfd95fea5a77b27bab48c04c29db1f5f (diff)
downloadlinux-acf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5.tar.gz
linux-acf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5.tar.bz2
linux-acf5f0be8a520c02bfed74cfc6735bf5fdd4a9e5.zip
fs/adfs: dir: add common directory sync method
adfs_fplus_sync() can be used for both directory formats since we now have a common way to access the buffer heads, so move it into dir.c and appropriately rename it. Remove the directory-format specific implementations. 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/adfs.h')
-rw-r--r--fs/adfs/adfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h
index 3bb6fd5b5eb0..5f1acee768f5 100644
--- a/fs/adfs/adfs.h
+++ b/fs/adfs/adfs.h
@@ -125,7 +125,6 @@ struct adfs_dir_ops {
int (*update)(struct adfs_dir *dir, struct object_info *obj);
int (*create)(struct adfs_dir *dir, struct object_info *obj);
int (*remove)(struct adfs_dir *dir, struct object_info *obj);
- int (*sync)(struct adfs_dir *dir);
};
struct adfs_discmap {