Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113164
b: refs/heads/master
c: 06270d5
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Oct 12, 2008
1 parent 6ad19d9 commit fa6bb3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dab9cfa17179d1f5b067a32a3bca06cd31a3149
refs/heads/master: 06270d5d6aefb46b88bf44a7c5b1b9b3ef352c48
4 changes: 4 additions & 0 deletions trunk/fs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ static int ioctl_fiemap(struct file *filp, unsigned long arg)
return error;
}

#ifdef CONFIG_BLOCK

#define blk_to_logical(inode, blk) (blk << (inode)->i_blkbits)
#define logical_to_blk(inode, offset) (offset >> (inode)->i_blkbits);

Expand Down Expand Up @@ -342,6 +344,8 @@ int generic_block_fiemap(struct inode *inode,
}
EXPORT_SYMBOL(generic_block_fiemap);

#endif /* CONFIG_BLOCK */

static int file_ioctl(struct file *filp, unsigned int cmd,
unsigned long arg)
{
Expand Down

0 comments on commit fa6bb3f

Please sign in to comment.