Messages in this thread | | | Date | Thu, 15 Nov 2012 17:49:48 +0400 | From | Pavel Emelyanov <> | Subject | Re: [patch 5/7] fs, exportfs: Escape nil dereference if no s_export_op present |
| |
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 <gorcunov@openvz.org> > CC: Pavel Emelyanov <xemul@parallels.com> > CC: Oleg Nesterov <oleg@redhat.com> > CC: Andrey Vagin <avagin@openvz.org> > CC: Al Viro <viro@ZenIV.linux.org.uk> > CC: Alexey Dobriyan <adobriyan@gmail.com> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: James Bottomley <jbottomley@parallels.com> > CC: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> > CC: Alexey Dobriyan <adobriyan@gmail.com> > CC: Matthew Helsley <matt.helsley@gmail.com> > CC: "J. Bruce Fields" <bfields@fieldses.org> > CC: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> > CC: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> > ---
Acked-by: Pavel Emelyanov <xemul@parallels.com>
| |