You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] struct path: convert char-drivers
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
6c648be6f4
commit
a7113a9662
@@ -106,7 +106,7 @@ static inline void pp_enable_irq (struct pp_struct *pp)
|
||||
static ssize_t pp_read (struct file * file, char __user * buf, size_t count,
|
||||
loff_t * ppos)
|
||||
{
|
||||
unsigned int minor = iminor(file->f_dentry->d_inode);
|
||||
unsigned int minor = iminor(file->f_path.dentry->d_inode);
|
||||
struct pp_struct *pp = file->private_data;
|
||||
char * kbuffer;
|
||||
ssize_t bytes_read = 0;
|
||||
@@ -189,7 +189,7 @@ static ssize_t pp_read (struct file * file, char __user * buf, size_t count,
|
||||
static ssize_t pp_write (struct file * file, const char __user * buf,
|
||||
size_t count, loff_t * ppos)
|
||||
{
|
||||
unsigned int minor = iminor(file->f_dentry->d_inode);
|
||||
unsigned int minor = iminor(file->f_path.dentry->d_inode);
|
||||
struct pp_struct *pp = file->private_data;
|
||||
char * kbuffer;
|
||||
ssize_t bytes_written = 0;
|
||||
|
||||
Reference in New Issue
Block a user