[PATCH] struct path: convert ncpfs
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
17506041de
commit
92e5baef85
@@ -101,7 +101,7 @@ out:
|
||||
static ssize_t
|
||||
ncp_file_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
|
||||
{
|
||||
struct dentry *dentry = file->f_dentry;
|
||||
struct dentry *dentry = file->f_path.dentry;
|
||||
struct inode *inode = dentry->d_inode;
|
||||
size_t already_read = 0;
|
||||
off_t pos;
|
||||
@@ -182,7 +182,7 @@ outrel:
|
||||
static ssize_t
|
||||
ncp_file_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
|
||||
{
|
||||
struct dentry *dentry = file->f_dentry;
|
||||
struct dentry *dentry = file->f_path.dentry;
|
||||
struct inode *inode = dentry->d_inode;
|
||||
size_t already_written = 0;
|
||||
off_t pos;
|
||||
|
Reference in New Issue
Block a user