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