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>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user