Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106153
b: refs/heads/master
c: 75b25b4
h: refs/heads/master
i:
  106151: 7f335d0
v: v3
  • Loading branch information
Dmitri Vorobiev authored and Linus Torvalds committed Jul 26, 2008
1 parent 905a9bf commit 9058586
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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: 7d135a5d50a08bbc53b189d79d8bdb03136f5303
refs/heads/master: 75b25b4cabb7ce956c36442bf8225659b1864866
4 changes: 2 additions & 2 deletions trunk/fs/bfs/bfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ struct bfs_sb_info {
unsigned long si_freei;
unsigned long si_lf_eblk;
unsigned long si_lasti;
unsigned long * si_imap;
struct buffer_head * si_sbh; /* buffer header w/superblock */
unsigned long *si_imap;
struct buffer_head *si_sbh; /* buffer header w/superblock */
};

/*
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/bfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ static int bfs_fill_super(struct super_block *s, void *data, int silent)
struct bfs_inode *di;
int block = (i - BFS_ROOT_INO) / BFS_INODES_PER_BLOCK + 1;
int off = (i - BFS_ROOT_INO) % BFS_INODES_PER_BLOCK;
unsigned long sblock, eblock;
unsigned long eblock;

if (!off) {
brelse(bh);
Expand All @@ -399,7 +399,6 @@ static int bfs_fill_super(struct super_block *s, void *data, int silent)
set_bit(i, info->si_imap);
info->si_freeb -= BFS_FILEBLOCKS(di);

sblock = le32_to_cpu(di->i_sblock);
eblock = le32_to_cpu(di->i_eblock);
if (eblock > info->si_lf_eblk)
info->si_lf_eblk = eblock;
Expand Down

0 comments on commit 9058586

Please sign in to comment.