mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
expfs: Fix exportfs_can_encode_fh() for EXPORT_FH_FID
[ Upstream commit48b77733d0] After commit5402c4d4d2("exportfs: require ->fh_to_parent() to encode connectable file handles") we will fail to create non-decodable file handles for filesystems without export operations. Fix it. Fixes:5402c4d4d2("exportfs: require ->fh_to_parent() to encode connectable file handles") Reviewed-by: Christian Brauner <brauner@kernel.org> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d2d1472ae7
commit
d699453de7
1 changed files with 4 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue