]> git.karo-electronics.de Git - linux-beck.git/commit
ocfs2: Wrap journal_access/journal_dirty for xattr buckets.
authorJoel Becker <joel.becker@oracle.com>
Sat, 25 Oct 2008 01:47:33 +0000 (18:47 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:34:17 +0000 (08:34 -0800)
commit1224be020f62ada3e19822feeac3840abf80de3e
tree914ea36d842ef33c444b4bd11dfd5e21dbef6af4
parent784b816a9198dc3782c97cde8ddcf52fecdf1797
ocfs2: Wrap journal_access/journal_dirty for xattr buckets.

A common action is to call ocfs2_journal_access() and
ocfs2_journal_dirty() on the buffer heads of an xattr bucket.  Let's
create nice wrappers.

While we're there, let's drop the places that try to be smart by writing
only the first and last blocks of a bucket.  A bucket is contiguous, so
writing the whole thing is actually more efficient.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c