Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68038
b: refs/heads/master
c: ecb3908
h: refs/heads/master
v: v3
  • Loading branch information
David Rientjes authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent d825d94 commit bb8d644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: cd68602f36ceb65b24a9abcae10ca04a933c07fd
refs/heads/master: ecb3908046ce9ce7feb44e2c2cf77ccdbe231f70
3 changes: 2 additions & 1 deletion trunk/drivers/pci/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ proc_bus_pci_read(struct file *file, char __user *buf, size_t nbytes, loff_t *pp
static ssize_t
proc_bus_pci_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos)
{
const struct inode *ino = file->f_path.dentry->d_inode;
struct inode *ino = file->f_path.dentry->d_inode;
const struct proc_dir_entry *dp = PDE(ino);
struct pci_dev *dev = dp->data;
int pos = *ppos;
Expand Down Expand Up @@ -193,6 +193,7 @@ proc_bus_pci_write(struct file *file, const char __user *buf, size_t nbytes, lof
}

*ppos = pos;
i_size_write(ino, dp->size);
return nbytes;
}

Expand Down

0 comments on commit bb8d644

Please sign in to comment.