fs/ioctl change in test3-pre1

From: Tim Waugh (twaugh@redhat.com)
Date: Tue Jul 04 2000 - 10:28:58 EST


This looks wrong to me. Could someone explain it?

Thanks,
Tim.
*/

diff -u linux/fs/ioctl.c:1.1.1.6 linux/fs/ioctl.c:1.1.1.7
--- linux/fs/ioctl.c:1.1.1.6 Thu Jun 29 10:27:38 2000
+++ linux/fs/ioctl.c Thu Jun 29 11:00:55 2000
@@ -107,8 +107,8 @@
                        else if (filp->f_op && filp->f_op->ioctl)
                                error =
                                filp->f_op->ioctl(filp->f_dentry->d_inod
e, filp, cmd, arg);
        }
- fput(filp);
        unlock_kernel();
+ fput(filp);
 
 out:
        return error;



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:15 EST