Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88330
b: refs/heads/master
c: abe2f41
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Korolev authored and Linus Torvalds committed Apr 14, 2008
1 parent 79b8422 commit 7935121
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: 19e729a928172103e101ffd0829fd13e68c13f78
refs/heads/master: abe2f41430770270a1512bf78f489284bfbdbd04
2 changes: 1 addition & 1 deletion trunk/fs/jffs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static int jffs2_write_begin(struct file *filp, struct address_space *mapping,
struct inode *inode = mapping->host;
struct jffs2_inode_info *f = JFFS2_INODE_INFO(inode);
pgoff_t index = pos >> PAGE_CACHE_SHIFT;
uint32_t pageofs = pos & (PAGE_CACHE_SIZE - 1);
uint32_t pageofs = index << PAGE_CACHE_SHIFT;
int ret = 0;

pg = __grab_cache_page(mapping, index);
Expand Down

0 comments on commit 7935121

Please sign in to comment.