summaryrefslogtreecommitdiffstats
path: root/fs/adfs/adfs.h
diff options
context:
space:
mode:
authorRussell King2019-03-24 13:57:32 +0100
committerRussell King2019-05-31 11:30:54 +0200
commit411c49bcf32d36b9988dc27968a92f3edf8ebed1 (patch)
tree578eddd0942a9ec4e4c49ca469c3428ab0d11178 /fs/adfs/adfs.h
parentfs/adfs: factor out filename case lowering (diff)
downloadkernel-qcow2-linux-411c49bcf32d36b9988dc27968a92f3edf8ebed1.tar.gz
kernel-qcow2-linux-411c49bcf32d36b9988dc27968a92f3edf8ebed1.tar.xz
kernel-qcow2-linux-411c49bcf32d36b9988dc27968a92f3edf8ebed1.zip
fs/adfs: factor out object fixups
Factor out the directory object fixups, which parse the filetype and optionally apply the filetype suffix to the filename. Acked-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'fs/adfs/adfs.h')
-rw-r--r--fs/adfs/adfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h
index c76db75f02aa..1097bee65fa9 100644
--- a/fs/adfs/adfs.h
+++ b/fs/adfs/adfs.h
@@ -172,6 +172,7 @@ extern const struct dentry_operations adfs_dentry_operations;
extern const struct adfs_dir_ops adfs_f_dir_ops;
extern const struct adfs_dir_ops adfs_fplus_dir_ops;
+void adfs_object_fixup(struct adfs_dir *dir, struct object_info *obj);
extern int adfs_dir_update(struct super_block *sb, struct object_info *obj,
int wait);