From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:55621 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbcBOA6K (ORCPT ); Sun, 14 Feb 2016 19:58:10 -0500 Date: Sun, 14 Feb 2016 16:58:09 -0800 From: Greg Kroah-Hartman To: green@linuxhacker.ru Cc: devel@driverdev.osuosl.org, Andreas Dilger , Al Viro , linux-fsdevel , Dmitry Eremin Subject: Re: [PATCH] staging/lustre: proper support of NFS anonymous dentries Message-ID: <20160215005809.GA19643@kroah.com> References: <1455495232-3270203-1-git-send-email-green@linuxhacker.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455495232-3270203-1-git-send-email-green@linuxhacker.ru> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, Feb 14, 2016 at 07:13:52PM -0500, green@linuxhacker.ru wrote: > From: Dmitry Eremin > > 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 > Reviewed-by: James Simmons > Reviewed-by: Jian Yu > Signed-off-by: Dmitry Eremin > Signed-off-by: Oleg Drokin > --- > 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