diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-13 20:57:12 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-20 21:29:51 -0400 |
commit | 8f82ecae53347ec65721e1c0683c3f26647e3c97 (patch) | |
tree | 594d1064acfda1f44aa4eaf0a2fde01ada760b2c /fs/qnx4/qnx4.h | |
parent | 19e5109fef2c368ab3f8a5157270f87f4a7c0326 (diff) | |
download | op-kernel-dev-8f82ecae53347ec65721e1c0683c3f26647e3c97.zip op-kernel-dev-8f82ecae53347ec65721e1c0683c3f26647e3c97.tar.gz |
qnx4: get rid of qnx4_bread/qnx4_getblk
pointless, since the only caller will want the physical block
number anyway; might as well call qnx4_block_map() and use
sb_bread()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/qnx4/qnx4.h')
-rw-r--r-- | fs/qnx4/qnx4.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/qnx4/qnx4.h b/fs/qnx4/qnx4.h index 33a6085..244d462 100644 --- a/fs/qnx4/qnx4.h +++ b/fs/qnx4/qnx4.h @@ -27,8 +27,6 @@ extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry, stru extern unsigned long qnx4_count_free_blocks(struct super_block *sb); extern unsigned long qnx4_block_map(struct inode *inode, long iblock); -extern struct buffer_head *qnx4_bread(struct inode *, int, int); - extern const struct inode_operations qnx4_dir_inode_operations; extern const struct file_operations qnx4_dir_operations; extern int qnx4_is_free(struct super_block *sb, long block); |