Questions about exportfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christoph,

Can you answer some questions about exportfs please?

 (1) In linux/exportfs.h, the description of the encode_fh() op says that
     "encode_fh() should return the number of bytes stored or a negative error
     code such as %-ENOSPC".

     This, however, contradicts export_encode_fh(), which returns a member of
     enum fid_type instead.  I presume the docs are wrong, or at least,
     unclear.

 (2) Why does exportfs_encode_fh() return the type of the FID?  Why not embed
     it in the fid struct?  It seems that the value has to be handed back to
     the decode routine.

 (3) Is fat_encode_fh() allowed to return a value not in the fid_type enum?

David
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux