Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767897Ab2KONuW (ORCPT ); Thu, 15 Nov 2012 08:50:22 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:43630 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767793Ab2KONuS (ORCPT ); Thu, 15 Nov 2012 08:50:18 -0500 Message-ID: <50A4F2FC.1090405@parallels.com> Date: Thu, 15 Nov 2012 17:49:48 +0400 From: Pavel Emelyanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Cyrill Gorcunov 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 Subject: Re: [patch 5/7] fs, exportfs: Escape nil dereference if no s_export_op present References: <20121114151937.344922058@openvz.org> <20121114152239.758426995@openvz.org> In-Reply-To: <20121114152239.758426995@openvz.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1265 Lines: 29 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/