diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-15 03:37:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 04:57:20 -0400 |
commit | 0b3fca1fd1499f0f5a7486d494f96538f2b7e5b9 (patch) | |
tree | 53c2152346840cc335483543c166cd47914fbfb0 /fs/ncpfs | |
parent | 6b5e1223d9c3fae19b1a2acd789d9dab97de67c4 (diff) |
kill find_inode_number()
the only remaining caller (in ncpfs) is guaranteed to return 0 -
we only hit it if we'd just checked that there's no dentry with
such name.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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); |