Merge "Add the UMOUNT_NOFOLLOW flag to <sys/mount.h>."

This commit is contained in:
Elliott Hughes 2015-03-11 16:42:48 +00:00 committed by Gerrit Code Review
commit be86f87711

View File

@ -25,6 +25,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef _SYS_MOUNT_H
#define _SYS_MOUNT_H
@ -35,9 +36,10 @@
__BEGIN_DECLS
/* umount2 flags. */
#define MNT_FORCE 1 /* Forcibly unmount */
#define MNT_DETACH 2 /* Detach from tree only */
#define MNT_EXPIRE 4 /* Mark for expiry */
#define MNT_FORCE 1
#define MNT_DETACH 2
#define MNT_EXPIRE 4
#define UMOUNT_NOFOLLOW 8
extern int mount(const char*, const char*, const char*, unsigned long, const void*);
extern int umount(const char*);