Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
affs_lookup: switch to d_splice_alias()
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: ed4433d "fs/affs: make affs exportable" Acked-by: David Sterba <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information