From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [patch 5/7] fs, exportfs: Escape nil dereference if no s_export_op present Date: Thu, 15 Nov 2012 17:49:48 +0400 Message-ID: <50A4F2FC.1090405@parallels.com> References: <20121114151937.344922058@openvz.org> <20121114152239.758426995@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Al Viro , Alexey Dobriyan , Andrew Morton , James Bottomley , Matthew Helsley , aneesh.kumar@linux.vnet.ibm.com, bfields@fieldses.org, oleg@redhat.com, rientjes@google.com, tvrtko.ursulin@onelan.co.uk, Andrey Vagin To: Cyrill Gorcunov Return-path: In-Reply-To: <20121114152239.758426995@openvz.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 11/14/2012 07:19 PM, Cyrill Gorcunov wrote: > This routine will be used to generate a file handle in fdinfo > output for inotify subsystem, where if no s_export_op present > the general export_encode_fh should be used. Thus add > a test if s_export_op present inside exportfs_encode_fh itself. > > Signed-off-by: Cyrill Gorcunov > CC: Pavel Emelyanov > CC: Oleg Nesterov > CC: Andrey Vagin > CC: Al Viro > CC: Alexey Dobriyan > CC: Andrew Morton > CC: James Bottomley > CC: "Aneesh Kumar K.V" > CC: Alexey Dobriyan > CC: Matthew Helsley > CC: "J. Bruce Fields" > CC: "Aneesh Kumar K.V" > CC: Tvrtko Ursulin > --- Acked-by: Pavel Emelyanov