xfs: abstract the differences in dir2/dir3 via an ops vector