summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/uptodate.h
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2008-08-18 17:38:47 +0800
committerMark Fasheh <mfasheh@suse.com>2008-10-13 13:57:59 -0700
commitac11c827192272eabb68b8f4cf844066461d9690 (patch)
treecd96822f16199879a203d30a4957f7d191c8659d /fs/ocfs2/uptodate.h
parent5a7bc8eb29b8c759df374d97b6189e03d4ea71c5 (diff)
downloadlinux-ac11c827192272eabb68b8f4cf844066461d9690.tar.bz2
ocfs2: Add helper function in uptodate.c for removing xattr clusters
The old uptodate only handles the issue of removing one buffer_head from ocfs2 inode's buffer cache. With xattr clusters, we may need to remove multiple buffer_head's at a time. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/uptodate.h')
-rw-r--r--fs/ocfs2/uptodate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/uptodate.h b/fs/ocfs2/uptodate.h
index 2e73206059a8..531b4b3a0c47 100644
--- a/fs/ocfs2/uptodate.h
+++ b/fs/ocfs2/uptodate.h
@@ -40,6 +40,9 @@ void ocfs2_set_new_buffer_uptodate(struct inode *inode,
struct buffer_head *bh);
void ocfs2_remove_from_cache(struct inode *inode,
struct buffer_head *bh);
+void ocfs2_remove_xattr_clusters_from_cache(struct inode *inode,
+ sector_t block,
+ u32 c_len);
int ocfs2_buffer_read_ahead(struct inode *inode,
struct buffer_head *bh);