[PATCH] staging/lustre: proper support of NFS anonymous dentries

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Feb 15 00:58:09 UTC 2016


On Sun, Feb 14, 2016 at 07:13:52PM -0500, green at linuxhacker.ru wrote:
> From: Dmitry Eremin <dmitry.eremin at intel.com>
> 
> NFS can ask to encode dentries that are not connected to the root.
> The fix check for parent is NULL and encode a file handle accordingly.
> 
> Reviewed-on: http://review.whamcloud.com/8347
> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4231
> Reviewed-by: Fan Yong <fan.yong at intel.com>
> Reviewed-by: James Simmons <uja.ornl at gmail.com>
> Reviewed-by: Jian Yu <jian.yu at intel.com>
> Signed-off-by: Dmitry Eremin <dmitry.eremin at intel.com>
> Signed-off-by: Oleg Drokin <green at linuxhacker.ru>
> ---
> This also happens to fix a crash when you try to use fhandle syscalls
> with Lustre.
> 
>  drivers/staging/lustre/lustre/llite/llite_nfs.c | 30 ++++++++++++++-----------
>  include/linux/exportfs.h                        |  6 +++++

I need an ack from someone who maintains nfs code before I can take this
one...

thanks,

greg k-h


More information about the devel mailing list