projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
378ff1a
)
VFS: Convert file->f_dentry->d_inode to file_inode()
author
David Howells
<dhowells@redhat.com>
Tue, 13 Jan 2015 17:57:53 +0000
(17:57 +0000)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 20 Jan 2015 08:04:36 +0000
(
03:04
-0500)
Convert file->f_dentry->d_inode to file_inode() so as to get layered
filesystems right.
Found with: git grep '[.>]f_dentry'
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/cris/arch-v32/drivers/sync_serial.c
patch
|
blob
|
history
diff --git
a/arch/cris/arch-v32/drivers/sync_serial.c
b/arch/cris/arch-v32/drivers/sync_serial.c
index 08a313fc22418c326987dc36c9c9203de639e270..f772068d9e797e0c236e512ac80254063de07802 100644
(file)
--- a/
arch/cris/arch-v32/drivers/sync_serial.c
+++ b/
arch/cris/arch-v32/drivers/sync_serial.c
@@
-604,7
+604,7
@@
static ssize_t __sync_serial_read(struct file *file,
struct timespec *ts)
{
unsigned long flags;
- int dev = MINOR(file
->f_dentry->d_inode
->i_rdev);
+ int dev = MINOR(file
_inode(file)
->i_rdev);
int avail;
struct sync_port *port;
unsigned char *start;