]> err.no Git - linux-2.6/blobdiff - fs/hfs/inode.c
[PATCH] hdaps: small update.
[linux-2.6] / fs / hfs / inode.c
index 75191232609454d67e0e126314c15ef782bdd398..f1570b9f9de30427f133670f02893a67726ed6ed 100644 (file)
@@ -160,7 +160,7 @@ struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, int mode)
 
        init_MUTEX(&HFS_I(inode)->extents_lock);
        INIT_LIST_HEAD(&HFS_I(inode)->open_dir_list);
-       hfs_cat_build_key((btree_key *)&HFS_I(inode)->cat_key, dir->i_ino, name);
+       hfs_cat_build_key(sb, (btree_key *)&HFS_I(inode)->cat_key, dir->i_ino, name);
        inode->i_ino = HFS_SB(sb)->next_id++;
        inode->i_mode = mode;
        inode->i_uid = current->fsuid;