]> granicus.if.org Git - zfs/commit
Linux compat, umount2(2) flags
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 21 Mar 2011 23:54:59 +0000 (16:54 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Mar 2011 19:15:54 +0000 (12:15 -0700)
commit1073d746d6421eb5faf8a3cf8534d82a2beb0512
treea10b3adfeab158f22b5092457719d29934b116e4
parentd6bd8eaae4bdbce8e162414bb6c84ac95fd456b4
Linux compat, umount2(2) flags

Older glibc <sys/mount.h> headers did not define all the available
umount2(2) flags.  Both MNT_FORCE and MNT_DETACH are supported in the
kernel back to 2.4.11 so we define them correctly if they are missing.

Closes #95
lib/libspl/include/sys/mount.h