Move disk routines to disk.c
Remove unused static functions in xfs_dir2.cs.
Remove unused routines.
Remove unused routine.
Remove unused routines.