diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-04-30 21:39:35 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-05-01 14:13:55 -0500 |
commit | 946217ba28637d7a08e03e93ef40586ce621f557 (patch) | |
tree | 5939657206b29c7678a347a3a13ea4880a1d4f82 /fs/xfs/xfs_ialloc_btree.c | |
parent | 123887e8433e58ebbcc4c91491d8b8cde31d6d79 (diff) | |
download | lwn-946217ba28637d7a08e03e93ef40586ce621f557.tar.gz lwn-946217ba28637d7a08e03e93ef40586ce621f557.zip |
xfs: Remote attr validation fixes and optimisations
- 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>
Diffstat (limited to 'fs/xfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions