Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154421466
D24656.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
558 B
Referenced Files
None
Subscribers
None
D24656.diff
View Options
Index: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
===================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
@@ -267,7 +267,7 @@
vfs_unbusy(vfsp);
break;
case Q_SETQUOTA:
- error = copyin(&dqblk, arg, sizeof(dqblk));
+ error = copyin(arg, &dqblk, sizeof(dqblk));
if (error == 0)
error = zfs_set_userquota(zfsvfs, quota_type,
"", id, dbtob(dqblk.dqb_bhardlimit));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 10:55 AM (9 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32344465
Default Alt Text
D24656.diff (558 B)
Attached To
Mode
D24656: Correct the order of arguments to copyin() for Q_SETQUOTA.
Attached
Detach File
Event Timeline
Log In to Comment