]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unionfs: fix suspendability check bugs
authormarkj <markj@FreeBSD.org>
Sat, 6 Jun 2015 16:36:13 +0000 (16:36 +0000)
committermarkj <markj@FreeBSD.org>
Sat, 6 Jun 2015 16:36:13 +0000 (16:36 +0000)
commit8563211efffbc521d0c933f9dd9a7869f67cf746
tree5c78c9452f854306dfd0a26ba4b27dfc110e86a3
parent25f2105c703e99467184c8cd04761d8524a555e0
unionfs: fix suspendability check bugs

- MNTK_SUSPENDABLE is set in mnt_kern_flag, not mnt_flag.
- The lower layer of a unionfs mount is read-only, so the mount should
  be suspendable iff the upper layer is suspendable.
- Remove a couple of superfluous comments.

Differential Revision: https://reviews.freebsd.org/D2714
Reviewed by: kib, mjg
sys/fs/unionfs/union_vfsops.c