Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150817908
D24656.id.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.id.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
Sun, Apr 5, 6:31 AM (13 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30875176
Default Alt Text
D24656.id.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