xfs: Remote attr validation fixes and optimisations
authorDave Chinner <dchinner@redhat.com>
Tue, 30 Apr 2013 11:39:35 +0000 (21:39 +1000)
committerBen Myers <bpm@sgi.com>
Wed, 1 May 2013 19:13:55 +0000 (14:13 -0500)
- optimise the calcuation for the number of blocks in a remote
  xattr.
- check attribute length against MAX_XATTR_SIZE, not MAXPATHLEN
- whitespace fixes

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>

No differences found