mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-21 05:14:52 +08:00
[PATCH] struct path: convert adfs
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:
parent
e678fb0d52
commit
514653e259
@ -28,7 +28,7 @@ static DEFINE_RWLOCK(adfs_dir_lock);
|
|||||||
static int
|
static int
|
||||||
adfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
adfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
||||||
{
|
{
|
||||||
struct inode *inode = filp->f_dentry->d_inode;
|
struct inode *inode = filp->f_path.dentry->d_inode;
|
||||||
struct super_block *sb = inode->i_sb;
|
struct super_block *sb = inode->i_sb;
|
||||||
struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;
|
struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;
|
||||||
struct object_info obj;
|
struct object_info obj;
|
||||||
|
Loading…
Reference in New Issue
Block a user