diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-08-18 11:38:47 +0200 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 22:57:59 +0200 |
commit | ac11c827192272eabb68b8f4cf844066461d9690 (patch) | |
tree | cd96822f16199879a203d30a4957f7d191c8659d /fs/ocfs2/uptodate.h | |
parent | ocfs2: Add the basic xattr disk layout in ocfs2_fs.h (diff) | |
download | linux-ac11c827192272eabb68b8f4cf844066461d9690.tar.xz linux-ac11c827192272eabb68b8f4cf844066461d9690.zip |
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.h | 3 |
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); |