Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176754
b: refs/heads/master
c: ca120b2
h: refs/heads/master
v: v3
  • Loading branch information
Anders Larsen authored and Linus Torvalds committed Dec 16, 2009
1 parent 6ec5feb commit fae7f0a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 29 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: f65380c07b64b0e45ad5c7d70ca54a9cde1c00db
refs/heads/master: ca120b20c32ffabf0e1d4319f65360e920fb4fe2
7 changes: 0 additions & 7 deletions trunk/fs/qnx4/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@
#include <linux/bitops.h>
#include "qnx4.h"

#if 0
int qnx4_new_block(struct super_block *sb)
{
return 0;
}
#endif /* 0 */

static void count_bits(register const char *bmPart, register int size,
int *const tf)
{
Expand Down
22 changes: 1 addition & 21 deletions trunk/fs/qnx4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,7 @@ static struct buffer_head *qnx4_getblk(struct inode *inode, int nr,
result = sb_getblk(inode->i_sb, nr);
return result;
}
if (!create) {
return NULL;
}
#if 0
tmp = qnx4_new_block(inode->i_sb);
if (!tmp) {
return NULL;
}
result = sb_getblk(inode->i_sb, tmp);
if (tst) {
qnx4_free_block(inode->i_sb, tmp);
brelse(result);
goto repeat;
}
tst = tmp;
#endif
inode->i_ctime = CURRENT_TIME_SEC;
mark_inode_dirty(inode);
return result;
return NULL;
}

struct buffer_head *qnx4_bread(struct inode *inode, int block, int create)
Expand Down Expand Up @@ -113,8 +95,6 @@ static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_h
if ( phys ) {
// logical block is before EOF
map_bh(bh, inode->i_sb, phys);
} else if ( create ) {
// to be done.
}
return 0;
}
Expand Down

0 comments on commit fae7f0a

Please sign in to comment.