diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-02-28 01:27:49 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-28 05:43:45 +0300 |
commit | ed4433d72394131244276d6e7590a7b24a2c9f64 (patch) | |
tree | 6f49befa6f76a3b1e4d64a1d8c2cdb5ccaf8ba71 /fs/affs/affs.h | |
parent | d5de9fd594eba1b94f0ef701c044f567f605bc9e (diff) | |
download | linux-ed4433d72394131244276d6e7590a7b24a2c9f64.tar.xz |
fs/affs: make affs exportable
Add standard functions making AFFS work with NFS.
Functions based on ext4 implementation. Tested on loop device.
Link: http://lkml.kernel.org/r/20170109191208.6085-4-fabf@skynet.be
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/affs/affs.h')
-rw-r--r-- | fs/affs/affs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/affs/affs.h b/fs/affs/affs.h index efe683947df9..1b5542818b2c 100644 --- a/fs/affs/affs.h +++ b/fs/affs/affs.h @@ -162,6 +162,7 @@ extern void affs_free_bitmap(struct super_block *sb); /* namei.c */ +extern const struct export_operations affs_export_ops; extern int affs_hash_name(struct super_block *sb, const u8 *name, unsigned int len); extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int); extern int affs_unlink(struct inode *dir, struct dentry *dentry); |