Skip to content

Commit

Permalink
[BZ #10092]
Browse files Browse the repository at this point in the history
2009-04-23  Aurelien Jarno  <aurelien@aurel32.net>
	[BZ #10092]
	* sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and
	MNT_EXPIRE.
  • Loading branch information
Ulrich Drepper committed Apr 24, 2009
1 parent 7f8a28e commit 95bf537
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2009-04-23 Aurelien Jarno <aurelien@aurel32.net>

[BZ #10092]
* sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and
MNT_EXPIRE.

2009-04-23 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.
Expand Down
6 changes: 5 additions & 1 deletion sysdeps/unix/sysv/linux/sys/mount.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,12 @@ enum
/* Possible value for FLAGS parameter of `umount2'. */
enum
{
MNT_FORCE = 1 /* Force unmounting. */
MNT_FORCE = 1, /* Force unmounting. */
#define MNT_FORCE MNT_FORCE
MNT_DETACH = 2, /* Just detach from the tree. */
#define MNT_DETACH MNT_DETACH
MNT_EXPIRE = 4 /* Mark for expiry. */
#define MNT_EXPIRE MNT_EXPIRE
};


Expand Down

0 comments on commit 95bf537

Please sign in to comment.