diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-10-24 19:13:20 -0700 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 08:34:17 -0800 |
commit | ba937127596ec2c61437006741f7d29999284de4 (patch) | |
tree | e5be4c76939ed4d87c256ff17f30e58bbebfb413 /lib/kref.c | |
parent | 4980c6daba967124ed6420032960abd2b48412e2 (diff) |
ocfs2: Take ocfs2_xattr_bucket structures off of the stack.
The ocfs2_xattr_bucket structure is a nice abstraction, but it is a bit
large to have on the stack. Just like ocfs2_path, let's allocate it
with a ocfs2_xattr_bucket_new() function.
We can now store the inode on the bucket, cleaning up all the other
bucket functions. While we're here, we catch another place or two that
wasn't using ocfs2_read_xattr_bucket().
Updates:
- No longer allocating xis.bucket, as it will never be used.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions