Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75114
b: refs/heads/master
c: c0a698b
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Dec 21, 2007
1 parent 3402ccd commit b259f50
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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: 2b5baad1656d2e193308333636707ace4a2fff56
refs/heads/master: c0a698b7443a9fce76b0a849f06c45ac78f3b0a0
7 changes: 3 additions & 4 deletions trunk/arch/x86/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,14 +373,13 @@ void die(const char * str, struct pt_regs * regs, long err)

if (die.lock_owner != raw_smp_processor_id()) {
console_verbose();
raw_local_irq_save(flags);
__raw_spin_lock(&die.lock);
raw_local_save_flags(flags);
die.lock_owner = smp_processor_id();
die.lock_owner_depth = 0;
bust_spinlocks(1);
}
else
raw_local_save_flags(flags);
} else
raw_local_irq_save(flags);

if (++die.lock_owner_depth < 3) {
unsigned long esp;
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/xfs/linux-2.6/xfs_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ xfs_file_readdir(

size = buf.used;
de = (struct hack_dirent *)buf.dirent;
curr_offset = de->offset /* & 0x7fffffff */;
while (size > 0) {
if (filldir(dirent, de->name, de->namlen,
curr_offset & 0x7fffffff,
Expand Down
4 changes: 3 additions & 1 deletion trunk/fs/xfs/linux-2.6/xfs_iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,9 @@ xfs_vn_mknod(
ASSERT(vp);
ip = vn_to_inode(vp);

if (S_ISDIR(mode))
if (S_ISCHR(mode) || S_ISBLK(mode))
ip->i_rdev = rdev;
else if (S_ISDIR(mode))
xfs_validate_fields(ip);
d_instantiate(dentry, ip);
xfs_validate_fields(dir);
Expand Down

0 comments on commit b259f50

Please sign in to comment.