diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 05:27:25 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 05:27:25 +0000 |
commit | c9c06167e7933d93a6e396174c68abf242294abb (patch) | |
tree | d9a8bb30663e9a3405a1ef37ffb62bc14b9f019f /fs/smbfs/dir.c | |
parent | f79e8cc3c34e4192a3e5ef4cc9c6542fdef703c0 (diff) |
Merge with Linux 2.4.0-test12.
Diffstat (limited to 'fs/smbfs/dir.c')
-rw-r--r-- | fs/smbfs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/smbfs/dir.c b/fs/smbfs/dir.c index b2d5c4099..7b62899c1 100644 --- a/fs/smbfs/dir.c +++ b/fs/smbfs/dir.c @@ -124,7 +124,7 @@ smb_readdir(struct file *filp, void *dirent, filldir_t filldir) qname.len = entry->len; entry->ino = find_inode_number(dentry, &qname); if (!entry->ino) - entry->ino = smb_invent_inos(1); + entry->ino = iunique(dentry->d_sb, 2); } if (filldir(dirent, entry->name, entry->len, @@ -325,7 +325,7 @@ smb_lookup(struct inode *dir, struct dentry *dentry) goto add_entry; if (!error) { error = -EACCES; - finfo.f_ino = smb_invent_inos(1); + finfo.f_ino = iunique(dentry->d_sb, 2); inode = smb_iget(dir->i_sb, &finfo); if (inode) { add_entry: @@ -362,7 +362,7 @@ smb_instantiate(struct dentry *dentry, __u16 fileid, int have_id) goto out_close; smb_renew_times(dentry); - fattr.f_ino = smb_invent_inos(1); + fattr.f_ino = iunique(dentry->d_sb, 2); inode = smb_iget(dentry->d_sb, &fattr); if (!inode) goto out_no_inode; |