diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-10-25 00:33:40 (GMT) |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 16:34:17 (GMT) |
commit | 784b816a9198dc3782c97cde8ddcf52fecdf1797 (patch) | |
tree | 8b6629535ab822a069449118d8925d479d58fdd3 /drivers/bluetooth | |
parent | 6dde41d9e7ba62f84cd7e91c0e993500af32ceb6 (diff) | |
download | linux-fsl-qoriq-784b816a9198dc3782c97cde8ddcf52fecdf1797.tar.xz |
ocfs2: Improve ocfs2_read_xattr_bucket().
The ocfs2_read_xattr_bucket() function would read an xattr bucket into a
list of buffer heads. However, we have a nice ocfs2_xattr_bucket
structure. Let's have it fill that out instead.
In addition, ocfs2_read_xattr_bucket() would initialize buffer heads for
a bucket that's never been on disk before. That's confusing. Let's
call that functionality ocfs2_init_xattr_bucket().
The functions ocfs2_cp_xattr_bucket() and ocfs2_half_xattr_bucket() are
updated to use the ocfs2_xattr_bucket structure rather than raw bh
lists. That way they can use the new read/init calls. In addition,
they drop the wasted read of an existing target bucket.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions