projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
drivers
/
usb
/
gadget
/
printer.c
diff --git
a/drivers/usb/gadget/printer.c
b/drivers/usb/gadget/printer.c
index 35bcc83d1e0428388a30632c8f9b1c2e7f8212e8..bf7a56b6d48ac2c3ebb3acf8920c70d79900d307 100644
(file)
--- a/
drivers/usb/gadget/printer.c
+++ b/
drivers/usb/gadget/printer.c
@@
-688,7
+688,7
@@
static int
printer_fsync(struct file *fd, loff_t start, loff_t end, int datasync)
{
struct printer_dev *dev = fd->private_data;
- struct inode *inode = f
d->f_path.dentry->d_inode
;
+ struct inode *inode = f
ile_inode(fd)
;
unsigned long flags;
int tx_list_empty;