From: Josef Sipek Date: Fri, 8 Dec 2006 10:36:53 +0000 (-0800) Subject: [PATCH] struct path: convert bfs X-Git-Tag: v2.6.20-rc1~34^2~336 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a8424ab8f611d199bfc8ca329ec0ea77a4d4ea;p=linux-2.6 [PATCH] struct path: convert bfs Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c index a650f1d0b8..2a746e688d 100644 --- a/fs/bfs/dir.c +++ b/fs/bfs/dir.c @@ -27,7 +27,7 @@ static struct buffer_head * bfs_find_entry(struct inode * dir, static int bfs_readdir(struct file * f, void * dirent, filldir_t filldir) { - struct inode * dir = f->f_dentry->d_inode; + struct inode * dir = f->f_path.dentry->d_inode; struct buffer_head * bh; struct bfs_dirent * de; unsigned int offset;