aboutsummaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-11-25 17:06:40 -0800
committerMark Fasheh <mfasheh@suse.com>2009-01-05 08:40:26 -0800
commit92de109ade7999084fb0bfcc65d603252504e0d0 (patch)
tree6a834f52a9e36118045d31017f7265ef5c0bb060 /fs/read_write.c
parent88c3b0622acf82c7c86fbc066e81e15edc7c1685 (diff)
ocfs2: Dirty the entire first bucket in ocfs2_extend_xattr_bucket()
ocfs2_extend_xattr_bucket() takes an extent of buckets and shifts some of them down to make room for a new xattr. It is passed the first bh of the first bucket, because that is where we store the number of buckets in the extent. However, 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. We also can skip passing in the target bucket bh - we only need its block number. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions