diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-11 09:46:33 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-11 09:46:33 -0400 |
commit | 4340fe62531f7d1dafb6f5359ffe0378bdb0db80 (patch) | |
tree | 95ee3f2ace3b07e2fa89a9a01ccd5ac40a556eee /fs/gfs2/ops_address.h | |
parent | ffeb874b2b893aea7d10b0b088e06a7b1ded2a3e (diff) |
[GFS2] Add generation number
This adds a generation number for the eventual use of NFS to the
ondisk inode. Its backward compatible with the current code since
it doesn't really matter what the generation number is to start with,
and indeed since its set to zero, due to it being taken from padding
in both the inode and rgrp header, it should be fine.
The eventual plan is to use this rather than no_formal_ino in the
NFS filehandles. At that point no_formal_ino will be unused.
At the same time we also add a releasepages call back to the
"normal" address space for gfs2 inodes. Also I've removed a
one-linrer function thats not required any more.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_address.h')
-rw-r--r-- | fs/gfs2/ops_address.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_address.h b/fs/gfs2/ops_address.h index a7ef3bf36f3e..dfc3dda6de11 100644 --- a/fs/gfs2/ops_address.h +++ b/fs/gfs2/ops_address.h | |||
@@ -13,5 +13,6 @@ | |||
13 | extern const struct address_space_operations gfs2_file_aops; | 13 | extern const struct address_space_operations gfs2_file_aops; |
14 | extern int gfs2_get_block(struct inode *inode, sector_t lblock, | 14 | extern int gfs2_get_block(struct inode *inode, sector_t lblock, |
15 | struct buffer_head *bh_result, int create); | 15 | struct buffer_head *bh_result, int create); |
16 | extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask); | ||
16 | 17 | ||
17 | #endif /* __OPS_ADDRESS_DOT_H__ */ | 18 | #endif /* __OPS_ADDRESS_DOT_H__ */ |