diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-25 20:11:13 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-01-25 20:11:13 -0500 |
| commit | 29bd17af7d8ffc16bb5eb286947495c166ea826e (patch) | |
| tree | 5c20c44b51bdb3573949d1dc23bc3d3927d759fa /fs/ocfs2/suballoc.h | |
| parent | 2ba14a017a4ba8d2266316f481d4ad7400073d18 (diff) | |
| parent | 2fe5c1d7eb88830b09c863a4b5b3279dc120f3af (diff) | |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2: (31 commits)
ocfs2: clean up bh null checks
ocfs2: document access rules for blocked_lock_list
configfs: file.c fix possible recursive locking
configfs: dir.c fix possible recursive locking
configfs: Remove EXPERIMENTAL
ocfs2: bump version number
ocfs2/dlm: Clear joining_node on hearbeat node down
ocfs2: convert byte order of constant instead of variable
ocfs2: Update default cluster timeouts
ocfs2: printf fixes
ocfs2: Use generic_file_llseek
ocfs2: Safer read_inline_data()
ocfs2: Silence false lockdep warnings
[PATCH 2/2] ocfs2: cluster aware flock()
[PATCH 1/2] ocfs2: add flock lock type
ocfs2: Local alloc window size changeable via mount option
ocfs2: Support commit= mount option
ocfs2: Add missing permission checks
[PATCH 2/2] ocfs2: Implement group add for online resize
[PATCH 1/2] ocfs2: Add group extend for online resize
...
Diffstat (limited to 'fs/ocfs2/suballoc.h')
| -rw-r--r-- | fs/ocfs2/suballoc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ocfs2/suballoc.h b/fs/ocfs2/suballoc.h index cafe93703095..8799033bb459 100644 --- a/fs/ocfs2/suballoc.h +++ b/fs/ocfs2/suballoc.h | |||
| @@ -147,4 +147,12 @@ static inline int ocfs2_is_cluster_bitmap(struct inode *inode) | |||
| 147 | int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, | 147 | int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, |
| 148 | struct ocfs2_alloc_context *ac); | 148 | struct ocfs2_alloc_context *ac); |
| 149 | 149 | ||
| 150 | /* given a cluster offset, calculate which block group it belongs to | ||
| 151 | * and return that block offset. */ | ||
| 152 | u64 ocfs2_which_cluster_group(struct inode *inode, u32 cluster); | ||
| 153 | |||
| 154 | /* somewhat more expensive than our other checks, so use sparingly. */ | ||
| 155 | int ocfs2_check_group_descriptor(struct super_block *sb, | ||
| 156 | struct ocfs2_dinode *di, | ||
| 157 | struct ocfs2_group_desc *gd); | ||
| 150 | #endif /* _CHAINALLOC_H_ */ | 158 | #endif /* _CHAINALLOC_H_ */ |
