macos: make the OpenAFS client aware of APFS 43/12743/2
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Thu, 12 Oct 2017 15:42:40 +0000 (12:42 -0300)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 18 Dec 2017 21:57:20 +0000 (16:57 -0500)
commit6e57b22642bafb177e0931b8fb24042707d6d62f
tree0542055f3f7900c4e5f121a31119a0ea9f80e928
parente533d0737058940d59d93467c9b4d6d3ec2834e6
macos: make the OpenAFS client aware of APFS

Apple has introduced a new file system called APFS. Starting from High
Sierra, APFS replaces Mac OS Extended (HFS+) as the default file system
for solid-state drives and other flash storage devices.

The current OpenAFS client is not aware of APFS. As a result, the
installation of the current client into an APFS volume will panic the
machine.

To fix this problem, make the OpenAFS client aware of APFS.

Change-Id: Ib5ac88b87f348744864f4e33f1f222efbc852d41
Reviewed-on: https://gerrit.openafs.org/12743
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/DARWIN/osi_file.c
src/afs/DARWIN/osi_machdep.h