diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-17 11:47:38 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 11:07:23 +0300 |
commit | 5561093e2cac9f7d2a77e39cc689b8d2b7f9b2bc (patch) | |
tree | aac1fa3e47604f2d7bb1e4d9e97f41b8ffebe91e /fs/gfs2/ops_address.h | |
parent | bf36a713169432643d4fc7eeb4e0ace96d791d26 (diff) | |
download | linux-5561093e2cac9f7d2a77e39cc689b8d2b7f9b2bc.tar.xz |
[GFS2] Introduce gfs2_set_aops()
Just like ext3 we now have three sets of address space operations
to cover the cases of writeback, ordered and journalled data
writes. This means that the individual operations can now become
less complicated as we are able to remove some of the tests for
file data mode from the code.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.h')
-rw-r--r-- | fs/gfs2/ops_address.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_address.h b/fs/gfs2/ops_address.h index e8fe83fcd583..d3b76d0cdc81 100644 --- a/fs/gfs2/ops_address.h +++ b/fs/gfs2/ops_address.h @@ -14,12 +14,12 @@ #include <linux/buffer_head.h> #include <linux/mm.h> -extern const struct address_space_operations gfs2_file_aops; extern int gfs2_get_block(struct inode *inode, sector_t lblock, struct buffer_head *bh_result, int create); extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask); extern int gfs2_internal_read(struct gfs2_inode *ip, struct file_ra_state *ra_state, char *buf, loff_t *pos, unsigned size); +extern void gfs2_set_aops(struct inode *inode); #endif /* __OPS_ADDRESS_DOT_H__ */ |