diff options
author | Cyrill Gorcunov <[email protected]> | 2012-12-17 16:05:06 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-12-17 17:15:27 -0800 |
commit | ab49bdecc3ebb46ab661f5f05d5c5ea9606406c6 (patch) | |
tree | 8b9cb838c82a2255d52fb36b34d3569b4726c48a /lib/mpi/mpi-inline.h | |
parent | 138d22b58696c506799f8de759804083ff9effae (diff) |
fs, exportfs: escape nil dereference if no s_export_op present
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 <[email protected]>
Acked-by: Pavel Emelyanov <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Andrey Vagin <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Matthew Helsley <[email protected]>
Cc: "J. Bruce Fields" <[email protected]>
Cc: "Aneesh Kumar K.V" <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions