aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:37:43 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:50 -0500
commit5495ca657d854ac57733ce5a52eee52255b3f4d8 (patch)
tree5ea66577956bd030b6e9cdb87e236652bb6fa491
parent303b46bb77a4b1679fd39d7ab5597630743e0ff5 (diff)
[PATCH] struct path: convert sysv
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>
-rw-r--r--fs/sysv/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c
index f2bef962d309..ebf7007fa161 100644
--- a/fs/sysv/dir.c
+++ b/fs/sysv/dir.c
@@ -70,7 +70,7 @@ fail:
70static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir) 70static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir)
71{ 71{
72 unsigned long pos = filp->f_pos; 72 unsigned long pos = filp->f_pos;
73 struct inode *inode = filp->f_dentry->d_inode; 73 struct inode *inode = filp->f_path.dentry->d_inode;
74 struct super_block *sb = inode->i_sb; 74 struct super_block *sb = inode->i_sb;
75 unsigned offset = pos & ~PAGE_CACHE_MASK; 75 unsigned offset = pos & ~PAGE_CACHE_MASK;
76 unsigned long n = pos >> PAGE_CACHE_SHIFT; 76 unsigned long n = pos >> PAGE_CACHE_SHIFT;