]> git.proxmox.com Git - mirror_spl.git/commit
Handle errors from spl_kern_path_locked()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 3 Dec 2012 20:01:28 +0000 (12:01 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 3 Dec 2012 20:06:25 +0000 (12:06 -0800)
commit053678f3b0572db442551dfa547dea939f45c96b
treec7ef270c66d7b180f38dee8adc9970d1737402cb
parentb84412a6e8a1d22780a8203e00049c6e43efacac
Handle errors from spl_kern_path_locked()

When the Linux 3.6 KERN_PATH_LOCKED compatibility code was added
by commit bcb1589 an entirely new vn_remove() implementation was
added.  That function did not properly handle an error from
spl_kern_path_locked() which would result in an panic.  This
patch addresses the issue by returning the error to the caller.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #187
module/spl/spl-vnode.c