Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61883
b: refs/heads/master
c: f644d47
h: refs/heads/master
i:
  61881: 2beb129
  61879: d528c2d
v: v3
  • Loading branch information
Kumar Gala authored and Bartlomiej Zolnierkiewicz committed Jul 19, 2007
1 parent dc8dace commit b60192a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 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: 5f47c7eac65a45e33d7fe390effe75ec5c74f8bf
refs/heads/master: f644d47af3834b603d909c212287d0c21ec3ebbb
4 changes: 2 additions & 2 deletions trunk/drivers/ide/pci/scc_pata.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ scc_ide_outbsync(ide_drive_t * drive, u8 addr, unsigned long port)
ide_hwif_t *hwif = HWIF(drive);

out_be32((void*)port, addr);
__asm__ __volatile__("eieio":::"memory");
eieio();
in_be32((void*)(hwif->dma_base + 0x01c));
__asm__ __volatile__("eieio":::"memory");
eieio();
}

static void
Expand Down
18 changes: 9 additions & 9 deletions trunk/fs/coda/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,20 +510,20 @@ static int coda_venus_readdir(struct file *coda_file, void *buf,
vdir = kmalloc(sizeof(*vdir), GFP_KERNEL);
if (!vdir) return -ENOMEM;

if (coda_file->f_pos == 0) {
switch (coda_file->f_pos) {
case 0:
ret = filldir(buf, ".", 1, 0, de->d_inode->i_ino, DT_DIR);
if (ret < 0)
goto out;
if (ret < 0) break;
result++;
coda_file->f_pos++;
}
if (coda_file->f_pos == 1) {
/* fallthrough */
case 1:
ret = filldir(buf, "..", 2, 1, de->d_parent->d_inode->i_ino, DT_DIR);
if (ret < 0)
goto out;
if (ret < 0) break;
result++;
coda_file->f_pos++;
}
/* fallthrough */
default:
while (1) {
/* read entries from the directory file */
ret = kernel_read(host_file, coda_file->f_pos - 2, (char *)vdir,
Expand Down Expand Up @@ -578,7 +578,7 @@ static int coda_venus_readdir(struct file *coda_file, void *buf,
* we've already established it is non-zero. */
coda_file->f_pos += vdir->d_reclen;
}
out:
}
kfree(vdir);
return result ? result : ret;
}
Expand Down
10 changes: 5 additions & 5 deletions trunk/fs/coda/upcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs)
/*
* coda_upcall and coda_downcall routines.
*/
static void coda_block_signals(sigset_t *old)
static void block_signals(sigset_t *old)
{
spin_lock_irq(&current->sighand->siglock);
*old = current->blocked;
Expand All @@ -646,7 +646,7 @@ static void coda_block_signals(sigset_t *old)
spin_unlock_irq(&current->sighand->siglock);
}

static void coda_unblock_signals(sigset_t *old)
static void unblock_signals(sigset_t *old)
{
spin_lock_irq(&current->sighand->siglock);
current->blocked = *old;
Expand All @@ -672,7 +672,7 @@ static inline void coda_waitfor_upcall(struct upc_req *req)
sigset_t old;
int blocked;

coda_block_signals(&old);
block_signals(&old);
blocked = 1;

add_wait_queue(&req->uc_sleep, &wait);
Expand All @@ -689,7 +689,7 @@ static inline void coda_waitfor_upcall(struct upc_req *req)
if (blocked && time_after(jiffies, timeout) &&
CODA_INTERRUPTIBLE(req))
{
coda_unblock_signals(&old);
unblock_signals(&old);
blocked = 0;
}

Expand All @@ -704,7 +704,7 @@ static inline void coda_waitfor_upcall(struct upc_req *req)
schedule();
}
if (blocked)
coda_unblock_signals(&old);
unblock_signals(&old);

remove_wait_queue(&req->uc_sleep, &wait);
set_current_state(TASK_RUNNING);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp_htcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static u32 htcp_recalc_ssthresh(struct sock *sk)
return max((tp->snd_cwnd * ca->beta) >> 7, 2U);
}

static void htcp_cong_avoid(struct sock *sk, u32 ack,
static void htcp_cong_avoid(struct sock *sk, u32 ack, s32 rtt,
u32 in_flight, int data_acked)
{
struct tcp_sock *tp = tcp_sk(sk);
Expand Down

0 comments on commit b60192a

Please sign in to comment.