diff options
Diffstat (limited to 'fs/smbfs/inode.c')
-rw-r--r-- | fs/smbfs/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c index 0406f72cb..bcc900626 100644 --- a/fs/smbfs/inode.c +++ b/fs/smbfs/inode.c @@ -78,11 +78,9 @@ smb_iget(struct super_block *sb, struct smb_fattr *fattr) DEBUG1("smb_iget: %p\n", fattr); - result = get_empty_inode(); + result = new_inode(sb); if (!result) return result; - result->i_sb = sb; - result->i_dev = sb->s_dev; result->i_ino = fattr->f_ino; memset(&(result->u.smbfs_i), 0, sizeof(result->u.smbfs_i)); smb_set_inode_attr(result, fattr); |