On Sun, May 13, 2018 at 05:03:42PM +0100, Al Viro wrote: > Making something exportable takes more than providing ->s_export_ops. > In particular, ->lookup() *MUST* use d_splice_alias() instead of > d_add(). > > Reading Documentation/filesystems/nfs/Exporting would've been a good idea; > as it is, exporting AFFS is badly (and exploitably) broken. > > Partially-Fixes: ed4433d72394 "fs/affs: make affs exportable" > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Acked-by: David Sterba <dsterba@xxxxxxxx>