patch-2.1.4 linux/fs/ext2/ioctl.c
Next file: linux/fs/ext2/super.c
Previous file: linux/fs/ext2/file.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Oct 13 21:11:16 1996
- Orig file:
v2.1.3/linux/fs/ext2/ioctl.c
- Orig date:
Tue Jul 2 19:08:42 1996
diff -u --recursive --new-file v2.1.3/linux/fs/ext2/ioctl.c linux/fs/ext2/ioctl.c
@@ -35,7 +35,7 @@
err = verify_area(VERIFY_READ, (int *) arg, sizeof(int));
if (err)
return err;
- flags = get_user((int *) arg);
+ get_user(flags, (int *) arg);
/*
* The IMMUTABLE and APPEND_ONLY flags can only be changed by
* the super user when the security level is zero.
@@ -77,7 +77,7 @@
err = verify_area(VERIFY_READ, (int *) arg, sizeof(int));
if (err)
return err;
- inode->u.ext2_i.i_version = get_user((int *) arg);
+ get_user(inode->u.ext2_i.i_version, (int *) arg);
inode->i_ctime = CURRENT_TIME;
inode->i_dirt = 1;
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov