ncpfs: return proper error from NCP_IOC_SETROOT ioctl
[pandora-kernel.git] / fs / ncpfs / ioctl.c
index 790e92a..ea6f706 100644 (file)
@@ -445,7 +445,6 @@ static long __ncp_ioctl(struct inode *inode, unsigned int cmd, unsigned long arg
                                                result = -EIO;
                                        }
                                }
-                               result = 0;
                        }
                        mutex_unlock(&server->root_setup_lock);