Up to [cvs.NetBSD.org] / src / sys / sys
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.35.10.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.35.10.1: +3 -3
lines
Diff to previous 1.35.10.1 (unified) to branchpoint 1.35 (unified) next main 1.36 (unified)
Rebase to HEAD as of a few days ago.
Revision 1.36.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:54 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.36: +3 -3
lines
Diff to previous 1.36 (unified) next main 1.37 (unified)
Rebase.
Revision 1.38 / (download) - annotate - [select for diffs], Sat Jun 28 22:27:50 2014 UTC (9 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
tls-maxphys-base,
tls-earlyentropy-base,
thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
HEAD
Changes since 1.37: +3 -3
lines
Diff to previous 1.37 (unified)
Revert the following changes: src/sys/sys/quotactl.h 1.37 src/sys/compat/netbsd32/netbsd32.h 1.101 src/sys/compat/netbsd32/netbsd32_netbsd.c 1.188, 1.189 src/sys/kern/vfs_quotactl.c 1.39 src/sys/kern/vfs_syscalls.c 1.483 src/sys/ufs/lfs/ulfs_quota.c 1.11 src/sys/ufs/ufs/ufs_quota.c 1.116 src/lib/libquota/quota_kernel.c 1.5 and do them correctly. If you're going to change the name of something, you need to change the name of *all* the things with the same name, not just a handful, and you should change it to something similar so it still matches the rest of the system rather than just picking an arbitrarily different name. Hi, Joerg. To wit, rename the quotactl "delete" operation to "del", because "delete" is a reserved word in C++ and for some reason Joerg wants to run internal interfaces used only by C code through his C++ compiler. Do not rename it to "remove" instead, because this doesn't match libquota or the rest of the usage throughout the system; and rename all the related identifiers, not just the ones that blew the mind of Joerg's C++ compiler. Because this is not a user-facing API (the only userland consumer sys/quotactl.h is libquota) it is sort of ok to make arbitrary source-incompatible changes; however, by the same token it's completely unnecessary. If it *were* a user-facing API that someone might have a semi-rational reason to want to run a C++ compiler on, it would be incorrect to change it at this point.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 12 21:39:45 2014 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.36: +2 -2
lines
Diff to previous 1.36 (unified)
Don't t use a C++ keyword as field name.
Revision 1.35.10.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:12 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (unified)
resync with head
Revision 1.35.6.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:53 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35.6.2: +2 -2
lines
Diff to previous 1.35.6.2 (unified) to branchpoint 1.35 (unified) next main 1.36 (unified)
sync with (a bit old) head
Revision 1.36 / (download) - annotate - [select for diffs], Sat Dec 1 11:41:50 2012 UTC (11 years, 4 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-earlyentropy
Changes since 1.35: +2 -2
lines
Diff to previous 1.35 (unified)
Fix misspelling: accommodate is a long enough word to have room for two 'c's and two 'm's.
Revision 1.35.6.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:52 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.6.1: +162 -0
lines
Diff to previous 1.35.6.1 (unified) to branchpoint 1.35 (unified)
sync with head
Revision 1.35.4.2 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:50 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35.4.1: +162 -0
lines
Diff to previous 1.35.4.1 (unified) to branchpoint 1.35 (unified) next main 1.36 (unified)
merge to -current.
Revision 1.35.6.1, Wed Feb 1 05:46:45 2012 UTC (12 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +0 -162
lines
FILE REMOVED
file quotactl.h was added on branch yamt-pagecache on 2012-04-17 00:08:52 +0000
Revision 1.35.4.1, Wed Feb 1 05:46:45 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.35: +0 -162
lines
FILE REMOVED
file quotactl.h was added on branch jmcneill-usbmp on 2012-02-18 07:35:50 +0000
Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 1 05:46:45 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Branch point for: yamt-pagecache,
tls-maxphys,
jmcneill-usbmp
Changes since 1.34: +4 -4
lines
Diff to previous 1.34 (unified)
Be consistent about whether idtype and objtype codes are signed or unsigned. They are signed. (While unsigned might have been a better choice, it doesn't really matter and the majority of preexisting uses were signed. And consistency is good.)
Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 1 05:43:54 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.33: +3 -3
lines
Diff to previous 1.33 (unified)
Improve the names of some members of struct quotactl_args. These are effectively function parameter names, but since they need to be described with the same names in the man page the choices do matter. Some.
Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 1 05:34:42 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.32: +10 -2
lines
Diff to previous 1.32 (unified)
Change the syscall API for quotas over to the new non-proplib one. - struct vfs_quotactl_args -> struct quotactl_args - add sys/stdint.h to sys/quotactl.h for clean userland build - install sys/quotactl.h in /usr/include - update set lists for same - add new marshalling code in libquota - add new unmarshalling code in vfs_syscalls.c - discard proplib interpreter code in vfs_quotactl.c - add dispatching code for the 14 quotactl ops in vfs_quotactl.c - mark the proplib quotactl syscall obsolete - add a new syscall number for the new quotactl syscall - change the name of the syscall to __quotactl() - remove the decl of the old quotactl from quota/quotaprop.h - add a decl of the new quotactl to sys/quotactl.h - update the libc build - update ktruss - remove proplib marshalling code from libquota - update copy of syscall table in gdb ppc sources - hack rumphijack to accomodate new quotactl name (as I recall, pooka wanted such a name change to simplify something, but I don't really see what/how) This change appears to require a kernel version bump for rumpish reasons.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 1 05:16:56 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.31: +33 -12
lines
Diff to previous 1.31 (unified)
Add QUOTACTL_IDTYPESTAT and QUOTACTL_OBJTYPESTAT for retrieving info about idtypes and objtypes. This avoids compiling in the names of the id and object types. I overlooked this last week because the proplib syscall interface has no way to convey this information. Renumber the operation codes again (since we still can) to insert the new operations into the list in a semantically sensible place. Requires kernel version bump.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 29 19:36:14 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.30: +2 -9
lines
Diff to previous 1.30 (unified)
Move the semantic restriction codes from sys/quotactl.h to sys/quota.h; they're meant to be used by applications and were stuffed into the wrong place by accident last week and got committed that way yesterday.
Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 29 07:13:43 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.29: +13 -33
lines
Diff to previous 1.29 (unified)
Tidy up the VFS_QUOTACTL interface. Renumber the command codes in a logical order (as opposed to the previous order, which accumulated arbitrarily), remove the separate codes for argument encoding as there's now a 1-1 mapping between ops and argument substructures, and assert in VFS_QUOTACTL() itself that the op in the args structure matches the op passed directly. This change requires a kernel version bump.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 29 07:12:41 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.28: +25 -5
lines
Diff to previous 1.28 (unified)
Change QUOTACTL_GETVERSION to QUOTACTL_STAT. Add struct quotastat. This change requires a kernel version bump.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 29 07:11:55 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.27: +6 -2
lines
Diff to previous 1.27 (unified)
Move proplib bits for QUOTACTL_QUOTAOFF out of the ufs code. This change requires a kernel version bump.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 29 07:11:12 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.26: +7 -2
lines
Diff to previous 1.26 (unified)
Move the proplib bits for QUOTACTL_QUOTAON out of the ufs code. This change requires a kernel version bump.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 29 07:09:52 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.25: +21 -4
lines
Diff to previous 1.25 (unified)
Add QUOTACTL_CURSORSKIPIDTYPE, QUOTACTL_CURSORATEND, QUOTACTL_CURSORREWIND. This change requires a kernel version bump.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 29 07:08:58 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.24: +1 -2
lines
Diff to previous 1.24 (unified)
Don't pass the idtype to QUOTACTL_GETALL. Instead, iterate both users and groups. This change requires a kernel version bump.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 29 07:07:22 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.23: +5 -9
lines
Diff to previous 1.23 (unified)
Call QUOTACTL_GETALL in a loop to get results 8 at a time. Make the QUOTACTL_GETALL interface less abusive. Note: this change requires a kernel version bump.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Jan 29 07:06:01 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.22: +1 -3
lines
Diff to previous 1.22 (unified)
Stop treating the default values specially in QUOTACTL_GETALL. Note: this change requires a kernel version bump.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 29 07:05:12 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.21: +2 -1
lines
Diff to previous 1.21 (unified)
Teach quota2 QUOTACTL_GETALL to acecpt a limit on how much it sends back. Pass in a dummy limit for now. Note: this change requires a kernel version bump.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 29 07:02:06 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.20: +10 -2
lines
Diff to previous 1.20 (unified)
Hack QUOTACTL_GETALL to return results without using proplib. (this interface is abusive and is going to be cleaned up in the immediate future) Note: this change requires a kernel version bump.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 29 07:00:39 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.19: +8 -2
lines
Diff to previous 1.19 (unified)
Pass the cursor to QUOTACTL_GETALL. Don't pass unused proplib items. Note: this change requires a kernel version bump.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 29 06:57:15 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.18: +25 -1
lines
Diff to previous 1.18 (unified)
Begin adding quota cursor/iteration interface to VFS_QUOTACTL. Add struct quotakcursor. Add QUOTACTL_CURSOROPEN and QUOTACTL_CURSORCLOSE operations. Implement the plumbing for them. Add trivial implementations of them for quota2. (iteration is not supported on quota1 for the time being, just as getall isn't) Have the proplib interpreter open and close a cursor around doing QUOTACTL_GETALL. Note: this change requires a kernel version bump.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 29 06:55:44 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.17: +2 -5
lines
Diff to previous 1.17 (unified)
Package up the args of QUOTACTL_DELETE as a struct quotakey.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 29 06:54:34 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.16: +5 -5
lines
Diff to previous 1.16 (unified)
QUOTACTL_CLEAR -> QUOTACTL_DELETE to match intended API and user API.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 29 06:53:35 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (unified)
Improve the quota2 QUOTACTL_CLEAR code to allow clearing blocks and files independently. Note: this change requires a kernel version bump.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 29 06:52:39 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.14: +1 -2
lines
Diff to previous 1.14 (unified)
The handling of QUOTACTL_CLEAR does not use the proplib data dictionary, so don't pass it. Note: this change requires a kernel version bump.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 29 06:51:43 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.13: +8 -1
lines
Diff to previous 1.13 (unified)
Move toplevel proplib iteration of QUOTACTL_CLEAR to fs-independent code. Note: this change requires a kernel version bump.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 29 06:49:43 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (unified)
Rename QUOTACTL_SET to QUOTACTL_PUT, to match future intended API.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 29 06:48:50 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.11: +2 -5
lines
Diff to previous 1.11 (unified)
Combine the miscellaneous QUOTACTL_SET args into a struct quotakey. Note: this change requires a kernel version bump.
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 29 06:47:38 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.10: +4 -5
lines
Diff to previous 1.10 (unified)
Pass only one objtype and its quotaval to QUOTACTL_SET at one time. (The backend code to handle this is a lot tidier than I expected given that the proplib code doesn't allow setting blocks and files independently; I was afraid there would turn out to be a reason for that...) Note: this change requires a kernel version bump.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 29 06:45:26 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.9: +3 -1
lines
Diff to previous 1.9 (unified)
Provide quota info to QUOTACTL_SET as two struct quotaval points as well as via proplib. Note: this change requires a kernel version bump.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 29 06:44:33 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.8: +8 -1
lines
Diff to previous 1.8 (unified)
Move the top level iteration for QUOTACTL_SET from ufs to vfs_quotactl. Note: this change requires a kernel version bump.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 29 06:41:41 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.7: +2 -5
lines
Diff to previous 1.7 (unified)
Use struct quotakey with QUOTACTL_GET. Tidy up accordingly. Step 5 of 5 for QUOTACTL_GET. Note: this change requires a kernel version bump.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 29 06:40:57 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (unified)
Per the FS-independent schema, get one quotaval at a time from the filesystem, instead of blocks and files together. This results in fetching each FS-level quota entry twice and therefore doing slightly more work, but (1) quota access isn't a critical path and (2) after fetching the block values the file values will be hot in the cache, so it won't add much total time. Also move more of the FS-independent defintions from <quota.h> to <sys/quota.h> so we can use them internally. Step 4 of 5 for QUOTACTL_GET. Note: this change requires a kernel version bump.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 29 06:39:36 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.5: +3 -2
lines
Diff to previous 1.5 (unified)
Move what was second-layer proplib frobbing for QUOTACTL_GET to FS-independent code. (Step 3 of probably 5 for QUOTACTL_GET.) Note: this change requires a kernel version bump.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 29 06:37:30 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.4: +8 -1
lines
Diff to previous 1.4 (unified)
Move first-layer proplib frobbing for QUOTACTL_GET to FS-independent code. (step 1 of several) Note: this change requires a kernel version bump.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 29 06:36:50 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.3: +6 -2
lines
Diff to previous 1.3 (unified)
Move proplib frobbing for QUOTACTL_GETVERSION to FS-independent code. Note: this change requires a kernel version bump.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 29 06:36:06 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.2: +16 -1
lines
Diff to previous 1.2 (unified)
Introduce struct vfs_quotactl_args. Use it. This change uglifies vfs_quotactl some in order to make room for moving operation-specific but FS-independent logic out of ufs_quota.c. Note: this change requires a kernel version bump.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 29 06:34:57 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.1: +9 -1
lines
Diff to previous 1.1 (unified)
Move the proplib-based quota command dispatching (that is, the code that knows the magic string names for the allowed actions) out of UFS-specific code and to fs-independent code. This introduces QUOTACTL_* operation codes and changes the signature of VFS_QUOTACTL() again for compile safety. Note: this change requires a kernel version bump.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 29 06:33:51 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Add sys/quotactl.h. This will hold the definitions for quotactl, which are not supposed to be exposed to applications. (Only to libquota.) So far it doesn't actually contain anything yet.