X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=lib%2Flibspl%2Finclude%2Fsys%2Fmount.h;h=145e785e3d520acf33db9b2fb9dbbbc0beb361c2;hb=e18be9a637088911d2b618788cd45982986e63cb;hp=d4ac6a9585d680979fc030b117dfe1671afdf055;hpb=1073d746d6421eb5faf8a3cf8534d82a2beb0512;p=zfs.git diff --git a/lib/libspl/include/sys/mount.h b/lib/libspl/include/sys/mount.h index d4ac6a9..145e785 100644 --- a/lib/libspl/include/sys/mount.h +++ b/lib/libspl/include/sys/mount.h @@ -73,4 +73,11 @@ # define MS_DETACH 0x00000002 #endif /* MNT_DETACH */ +/* + * Overlay mount is default in Linux, but for solaris/zfs + * compatibility, MS_OVERLAY is defined to explicitly have the user + * provide a flag (-O) to mount over a non empty directory. + */ +#define MS_OVERLAY 0x00000004 + #endif /* _LIBSPL_SYS_MOUNT_H */