Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210972
b: refs/heads/master
c: 1282806
h: refs/heads/master
v: v3
  • Loading branch information
Tao Ma authored and Joel Becker committed Sep 23, 2010
1 parent 618473c commit b0f8310
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 50aff040363d31f87e94f38f1710973d99489951
refs/heads/master: 12828061cdacfb1db3eb03fd71952d5ebc555bbb
3 changes: 3 additions & 0 deletions trunk/fs/ocfs2/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ static int ocfs2_acl_set_mode(struct inode *inode, struct buffer_head *di_bh,
}

inode->i_mode = new_mode;
inode->i_ctime = CURRENT_TIME;
di->i_mode = cpu_to_le16(inode->i_mode);
di->i_ctime = cpu_to_le64(inode->i_ctime.tv_sec);
di->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec);

ocfs2_journal_dirty(handle, di_bh);

Expand Down

0 comments on commit b0f8310

Please sign in to comment.