mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 03:49:38 +03:00
da29fe63f0
When calling mount(), care must be taken to avoid passing in flags that are used only by the user space utilities. Otherwise we may stomp on flags that are reserved for other purposes in the kernel. In particular, openSUSE 12.3 kernels have added a new MS_RICHACL super-block flag whose value conflicts with our MS_COMMENT flag. This causes incorrect behavior such as the umask being ignored. The MS_COMMENT flag essentially serves as a placeholder in the option_map data structure of zfs_mount.c, but its value is never used. Therefore we can avoid the conflict by defining it to 0. The MS_USERS, MS_OWNER, and MS_GROUP flags also conflict with reserved flags in the kernel. While this is not known to have caused any problems, it is nevertheless incorrect. For the purposes of the mount.zfs helper, the "users", "owner", and "group" options just serve as hints to set additional implied options. Therefore we now define their associated mount flags in terms of the options that they imply rather than giving them unique values. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1457 |
||
---|---|---|
.. | ||
dktp | ||
sysevent | ||
acl_impl.h | ||
acl.h | ||
bitmap.h | ||
byteorder.h | ||
callb.h | ||
cmn_err.h | ||
compress.h | ||
cred.h | ||
debug.h | ||
dkio.h | ||
dklabel.h | ||
feature_tests.h | ||
file.h | ||
frame.h | ||
int_limits.h | ||
int_types.h | ||
inttypes.h | ||
isa_defs.h | ||
kmem.h | ||
kstat.h | ||
list_impl.h | ||
list.h | ||
Makefile.am | ||
mhd.h | ||
mkdev.h | ||
mntent.h | ||
mnttab.h | ||
mount.h | ||
note.h | ||
param.h | ||
priv.h | ||
processor.h | ||
sdt.h | ||
stack.h | ||
stat.h | ||
stropts.h | ||
sunddi.h | ||
sysevent.h | ||
sysmacros.h | ||
systeminfo.h | ||
systm.h | ||
time.h | ||
types32.h | ||
types.h | ||
tzfile.h | ||
uio.h | ||
utsname.h | ||
va_list.h | ||
varargs.h | ||
vnode.h | ||
vtoc.h | ||
zone.h |