summaryrefslogtreecommitdiffstats
path: root/fs/bfs/inode.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-07-26 04:44:52 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 21:00:03 +0200
commit75b25b4cabb7ce956c36442bf8225659b1864866 (patch)
tree3933f94489db46f1f8bb47c982458c562cbad98d /fs/bfs/inode.c
parentaffs: convert s_bmlock into a mutex (diff)
downloadlinux-75b25b4cabb7ce956c36442bf8225659b1864866.tar.xz
linux-75b25b4cabb7ce956c36442bf8225659b1864866.zip
bfs: assorted cleanups
This patch makes the following cleanups: o removing an unused variable from bfs_fill_super(); o removing unneeded blank spaces from pointer definitions. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Cc: Tigran Aivazian <tigran_aivazian@symantec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--fs/bfs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c
index 8db623838b50..c8b3982e11ca 100644
--- a/fs/bfs/inode.c
+++ b/fs/bfs/inode.c
@@ -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);
@@ -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;