Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344895
b: refs/heads/master
c: 64744e0
h: refs/heads/master
i:
  344893: 0577ef8
  344891: 5922097
  344887: 5a08b84
  344879: 25a42bd
  344863: 0a9a225
  344831: d744009
v: v3
  • Loading branch information
Guo Chao authored and Theodore Ts'o committed Dec 10, 2012
1 parent e194644 commit 67feb96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: f08225d176a5736363beea653b9b3fb9400c1255
refs/heads/master: 64744e03c6871e5e4678478bab1b8c3ba6cca395
6 changes: 1 addition & 5 deletions trunk/fs/ext4/fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
*/
static int ext4_sync_parent(struct inode *inode)
{
struct writeback_control wbc;
struct dentry *dentry = NULL;
struct inode *next;
int ret = 0;
Expand All @@ -66,10 +65,7 @@ static int ext4_sync_parent(struct inode *inode)
ret = sync_mapping_buffers(inode->i_mapping);
if (ret)
break;
memset(&wbc, 0, sizeof(wbc));
wbc.sync_mode = WB_SYNC_ALL;
wbc.nr_to_write = 0; /* only write out the inode */
ret = sync_inode(inode, &wbc);
ret = sync_inode_metadata(inode, 1);
if (ret)
break;
}
Expand Down

0 comments on commit 67feb96

Please sign in to comment.