Squashed commit of the following:

commit f7d6b56571f99f6e9082f5d756b70ca4b7250098
Author: Sean Fagen <sef@ixsystems.com>
Date:   Tue May 6 16:02:17 2014 -0700

    Until the source fixes it, a patch to allow querying the size of an EA
    (with O_NOFOLLOW set).  Without it, it errors out.