Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74367
b: refs/heads/master
c: 6454d1f
h: refs/heads/master
i:
  74365: c1f6e0f
  74363: 6dc18fe
  74359: 4d92919
  74351: 438dcd5
  74335: 1c695d8
  74303: 75dda3d
  74239: 137e827
v: v3
  • Loading branch information
Tobias Poschwatta authored and Linus Torvalds committed Nov 29, 2007
1 parent f47d682 commit d85c5fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68576cf122bc5195c758ed295e78b5858472378a
refs/heads/master: 6454d1f9038f708d7deef6270ed4ba5bb6e55869
7 changes: 7 additions & 0 deletions trunk/fs/ext2/ext2.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,10 @@ extern const struct inode_operations ext2_special_inode_operations;
/* symlink.c */
extern const struct inode_operations ext2_fast_symlink_inode_operations;
extern const struct inode_operations ext2_symlink_inode_operations;

static inline ext2_fsblk_t
ext2_group_first_block_no(struct super_block *sb, unsigned long group_no)
{
return group_no * (ext2_fsblk_t)EXT2_BLOCKS_PER_GROUP(sb) +
le32_to_cpu(EXT2_SB(sb)->s_es->s_first_data_block);
}
7 changes: 0 additions & 7 deletions trunk/include/linux/ext2_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,4 @@ enum {
~EXT2_DIR_ROUND)
#define EXT2_MAX_REC_LEN ((1<<16)-1)

static inline ext2_fsblk_t
ext2_group_first_block_no(struct super_block *sb, unsigned long group_no)
{
return group_no * (ext2_fsblk_t)EXT2_BLOCKS_PER_GROUP(sb) +
le32_to_cpu(EXT2_SB(sb)->s_es->s_first_data_block);
}

#endif /* _LINUX_EXT2_FS_H */

0 comments on commit d85c5fd

Please sign in to comment.