Improve support for writing to XFS partitions. Work done by: Russell Cattelan <cattelan at xfs dot org>
files and changing #if XXXKAN -> #ifdef XXXKAN. # this is just compile tested, since I don't have xfs partitions.
Contributed by: XFS for FreeBSD project