maxnamelen and maxpathlen are part of fsal_staticfsinfo_t. FSAL_CEPH
currently sets it to NAME_MAX, which is defined in limits.h as 255. If
you need a programatic way of determining it, you can use
fs_maxnamelen() in the export_ops. Some FSALs define that as well.
Daniel
On 8/25/21 10:00 PM, ethan.deson(a)oracle.com wrote:
Appreciate it, will use most recent repo.
I want to add validation where my definition of "too long" is custom. Or I
might want to reject certain files with certain extensions. Basically, what is the entry
point for adding custom logic to nfs ganesha? Is there anything besides modifying the
source FSAL?
_______________________________________________
Devel mailing list -- devel(a)lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave(a)lists.nfs-ganesha.org