pxe: Handle closing file with NULL ->inode
commitc87df9b16191023498c2780e47527cfee3ddf015
authorMatt Fleming <matt.fleming@intel.com>
Mon, 18 Feb 2013 20:25:27 +0000 (18 20:25 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 26 Feb 2013 11:29:09 +0000 (26 11:29 +0000)
tree21f8a59e82184fd866c9d7963f99da2a61e72f10
parent76da2ae050d72a31fd47c2fb53f7081781de62ff
pxe: Handle closing file with NULL ->inode

It's possible that pxe_close_file() will be called with a NULL
file->inode from searchdir() if pxe_searchdir() fails to lookup a
file.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/fs/pxe/pxe.c