diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-11-24 19:32:13 -0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 08:40:26 -0800 |
commit | 548b0f22bb7497ba76f91627b99f9fed53a91704 (patch) | |
tree | c5242ab4cb1780fa6aa55624e92adb7a4fb5e1ef /kernel/rcupreempt.c | |
parent | df32b3343aa11e0c7f54783594b24321d17d376f (diff) |
ocfs2: Dirty the entire bucket in ocfs2_bucket_value_truncate()
ocfs2_bucket_value_truncate() currently takes the first bh of the
bucket, and magically plays around with the value bh - even though
the bucket structure in the calling function already has it.
In addition, future code wants to always dirty the entire bucket when it
is changed. So let's pass the entire bucket into this function, skip
any block reads (we have them), and add the access/dirty logic.
ocfs2_xattr_update_value_size() is no longer necessary, as it only did
one thing other than journal access/dirty.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'kernel/rcupreempt.c')
0 files changed, 0 insertions, 0 deletions