Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252471
b: refs/heads/master
c: 8cb2a18
h: refs/heads/master
i:
  252469: cf1d99f
  252467: 686e909
  252463: 826e899
v: v3
  • Loading branch information
Sergey Senozhatsky authored and David Woodhouse committed May 25, 2011
1 parent a3f198b commit deebd9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d178e3e88f538323eb483df1563c8edfb71fdb39
refs/heads/master: 8cb2a180abfa7b677c63cddfb21df9cefb27fe2d
4 changes: 0 additions & 4 deletions trunk/fs/jffs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
struct nameidata *nd)
{
struct jffs2_inode_info *dir_f;
struct jffs2_sb_info *c;
struct jffs2_full_dirent *fd = NULL, *fd_list;
uint32_t ino = 0;
struct inode *inode = NULL;
Expand All @@ -86,7 +85,6 @@ static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
return ERR_PTR(-ENAMETOOLONG);

dir_f = JFFS2_INODE_INFO(dir_i);
c = JFFS2_SB_INFO(dir_i->i_sb);

mutex_lock(&dir_f->sem);

Expand Down Expand Up @@ -119,15 +117,13 @@ static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
static int jffs2_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
struct jffs2_inode_info *f;
struct jffs2_sb_info *c;
struct inode *inode = filp->f_path.dentry->d_inode;
struct jffs2_full_dirent *fd;
unsigned long offset, curofs;

D1(printk(KERN_DEBUG "jffs2_readdir() for dir_i #%lu\n", filp->f_path.dentry->d_inode->i_ino));

f = JFFS2_INODE_INFO(inode);
c = JFFS2_SB_INFO(inode->i_sb);

offset = filp->f_pos;

Expand Down

0 comments on commit deebd9b

Please sign in to comment.