diff options
Diffstat (limited to 'fs/ncpfs')
-rw-r--r-- | fs/ncpfs/dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index e5d488530580..3bc105d36f10 100644 --- a/fs/ncpfs/dir.c +++ b/fs/ncpfs/dir.c | |||
@@ -660,8 +660,6 @@ end_advance: | |||
660 | ctl.valid = 0; | 660 | ctl.valid = 0; |
661 | if (!ctl.filled && (ctl.fpos == ctx->pos)) { | 661 | if (!ctl.filled && (ctl.fpos == ctx->pos)) { |
662 | if (!ino) | 662 | if (!ino) |
663 | ino = find_inode_number(dentry, &qname); | ||
664 | if (!ino) | ||
665 | ino = iunique(dir->i_sb, 2); | 663 | ino = iunique(dir->i_sb, 2); |
666 | ctl.filled = !dir_emit(ctx, qname.name, qname.len, | 664 | ctl.filled = !dir_emit(ctx, qname.name, qname.len, |
667 | ino, DT_UNKNOWN); | 665 | ino, DT_UNKNOWN); |