Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44860
b: refs/heads/master
c: 9280f68
h: refs/heads/master
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Dec 21, 2006
1 parent b3b2f01 commit eff35ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: d0e671a932cb9c653b27393cec26aec012a8d97e
refs/heads/master: 9280f6822c2d7112b47107251fce307aefb31f35
4 changes: 1 addition & 3 deletions trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,8 @@ static int fuse_commit_write(struct file *file, struct page *page,
i_size_write(inode, pos);
spin_unlock(&fc->lock);

if (offset == 0 && to == PAGE_CACHE_SIZE) {
clear_page_dirty(page);
if (offset == 0 && to == PAGE_CACHE_SIZE)
SetPageUptodate(page);
}
}
fuse_invalidate_attr(inode);
return err;
Expand Down

0 comments on commit eff35ba

Please sign in to comment.