Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242383
b: refs/heads/master
c: 688f869
h: refs/heads/master
i:
  242381: e07784e
  242379: c9bad98
  242375: a0fc491
  242367: f368aa4
v: v3
  • Loading branch information
Theodore Ts'o committed Mar 16, 2011
1 parent f5cffc6 commit b66831b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 198868f35de99e7197829314076e5465c37e4cc5
refs/heads/master: 688f869ce3bdc892daa993534dc6df18c95df931
5 changes: 5 additions & 0 deletions trunk/fs/ext4/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,11 @@ struct inode *ext4_new_inode(handle_t *handle, struct inode *dir, int mode,
}
}

if (ext4_handle_valid(handle)) {
ei->i_sync_tid = handle->h_transaction->t_tid;
ei->i_datasync_tid = handle->h_transaction->t_tid;
}

err = ext4_mark_inode_dirty(handle, inode);
if (err) {
ext4_std_error(sb, err);
Expand Down

0 comments on commit b66831b

Please sign in to comment.