Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376493
b: refs/heads/master
c: 1d7095c
h: refs/heads/master
i:
  376491: e795cd4
v: v3
  • Loading branch information
Al Viro committed May 31, 2013
1 parent 5557322 commit a367060
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 801d9d26bfd6e88e9cf0efbb30b649d1bdc15dcf
refs/heads/master: 1d7095c72d35eee4ebc28e66563e636b9adafeb2
2 changes: 1 addition & 1 deletion trunk/fs/qnx6/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static int qnx6_readdir(struct file *filp, void *dirent, filldir_t filldir)
struct inode *inode = file_inode(filp);
struct super_block *s = inode->i_sb;
struct qnx6_sb_info *sbi = QNX6_SB(s);
loff_t pos = filp->f_pos & (QNX6_DIR_ENTRY_SIZE - 1);
loff_t pos = filp->f_pos & ~(QNX6_DIR_ENTRY_SIZE - 1);
unsigned long npages = dir_pages(inode);
unsigned long n = pos >> PAGE_CACHE_SHIFT;
unsigned start = (pos & ~PAGE_CACHE_MASK) / QNX6_DIR_ENTRY_SIZE;
Expand Down

0 comments on commit a367060

Please sign in to comment.