diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-02-27 14:27:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-27 18:43:45 -0800 |
commit | ed4433d72394131244276d6e7590a7b24a2c9f64 (patch) | |
tree | 6f49befa6f76a3b1e4d64a1d8c2cdb5ccaf8ba71 /fs/affs/super.c | |
parent | d5de9fd594eba1b94f0ef701c044f567f605bc9e (diff) | |
download | linux-next-ed4433d72394131244276d6e7590a7b24a2c9f64.tar.gz |
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/super.c')
-rw-r--r-- | fs/affs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c index d6384863192c..98bd95291694 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c @@ -507,6 +507,7 @@ got_root: return -ENOMEM; } + sb->s_export_op = &affs_export_ops; pr_debug("s_flags=%lX\n", sb->s_flags); return 0; } |