exportfs: Return the minimum required handle size
The exportfs encode handle function should return the minimum required handle size. This helps user to find out the handle size by passing 0 handle size in the first step and then redoing to the call again with the returned handle size value. Acked-by:Serge Hallyn <serue@us.ibm.com> Signed-off-by:
Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/btrfs/export.c 6 additions, 2 deletionsfs/btrfs/export.c
- fs/exportfs/expfs.c 7 additions, 2 deletionsfs/exportfs/expfs.c
- fs/fat/inode.c 3 additions, 1 deletionfs/fat/inode.c
- fs/fuse/inode.c 3 additions, 1 deletionfs/fuse/inode.c
- fs/gfs2/export.c 6 additions, 2 deletionsfs/gfs2/export.c
- fs/isofs/export.c 6 additions, 2 deletionsfs/isofs/export.c
- fs/ocfs2/export.c 6 additions, 2 deletionsfs/ocfs2/export.c
- fs/reiserfs/inode.c 6 additions, 1 deletionfs/reiserfs/inode.c
- fs/udf/namei.c 6 additions, 1 deletionfs/udf/namei.c
- fs/xfs/linux-2.6/xfs_export.c 3 additions, 1 deletionfs/xfs/linux-2.6/xfs_export.c
- include/linux/exportfs.h 4 additions, 2 deletionsinclude/linux/exportfs.h
- mm/shmem.c 3 additions, 1 deletionmm/shmem.c
Loading
Please register or sign in to comment