Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330131
b: refs/heads/master
c: 4b63709
h: refs/heads/master
i:
  330129: 619d442
  330127: 9fa2cc0
v: v3
  • Loading branch information
Namjae Jeon authored and Linus Torvalds committed Oct 5, 2012
1 parent 9129c7f commit 0ed917a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 32daab969cc16e263a544d9330972b25a0081851
refs/heads/master: 4b63709861e431e73f0be6b83f420fdd8fc518f5
6 changes: 2 additions & 4 deletions trunk/fs/fat/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,10 +1141,8 @@ int fat_alloc_new_dir(struct inode *dir, struct timespec *ts)
de[0].ctime_cs = de[1].ctime_cs = 0;
de[0].adate = de[0].cdate = de[1].adate = de[1].cdate = 0;
}
de[0].start = cpu_to_le16(cluster);
de[0].starthi = cpu_to_le16(cluster >> 16);
de[1].start = cpu_to_le16(MSDOS_I(dir)->i_logstart);
de[1].starthi = cpu_to_le16(MSDOS_I(dir)->i_logstart >> 16);
fat_set_start(&de[0], cluster);
fat_set_start(&de[1], MSDOS_I(dir)->i_logstart);
de[0].size = de[1].size = 0;
memset(de + 2, 0, sb->s_blocksize - 2 * sizeof(*de));
set_buffer_uptodate(bhs[0]);
Expand Down

0 comments on commit 0ed917a

Please sign in to comment.