diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:50 -0500 |
commit | 5495ca657d854ac57733ce5a52eee52255b3f4d8 (patch) | |
tree | 5ea66577956bd030b6e9cdb87e236652bb6fa491 /fs/sysv/dir.c | |
parent | 303b46bb77a4b1679fd39d7ab5597630743e0ff5 (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>
Diffstat (limited to 'fs/sysv/dir.c')
-rw-r--r-- | fs/sysv/dir.c | 2 |
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: | |||
70 | static int sysv_readdir(struct file * filp, void * dirent, filldir_t filldir) | 70 | static 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; |