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 <[email protected]>
This commit is contained in:
Al Viro 2013-06-15 11:37:47 +04:00
commit 0b3fca1fd1
3 changed files with 0 additions and 32 deletions

View file

@ -659,8 +659,6 @@ end_advance:
if (!valid)
ctl.valid = 0;
if (!ctl.filled && (ctl.fpos == ctx->pos)) {
if (!ino)
ino = find_inode_number(dentry, &qname);
if (!ino)
ino = iunique(dir->i_sb, 2);
ctl.filled = !dir_emit(ctx, qname.name, qname.len,