mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Add MAXUID define
For Linux the maximum uid can vary depending on how your kernel is built. The Linux kernel still can be compiled with 16 but uids and gids, although I'm not aware of a major distribution which does this (maybe an embedded one?). Given that caviot it is reasonably safe to define the MAXUID as 2147483647.
This commit is contained in:
parent
5f46a517f1
commit
e2b25f698c
@ -31,4 +31,6 @@
|
||||
#define ptob(pages) (pages << PAGE_SHIFT)
|
||||
#define btop(bytes) (bytes >> PAGE_SHIFT)
|
||||
|
||||
#define MAXUID 2147483647
|
||||
|
||||
#endif /* SPL_PARAM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user