vxfs_fshead.c (0a1340c185734a57fbf4775927966ad4a1347b02) vxfs_fshead.c (25985edcedea6396277003854657b5f3cb31a628)
1/*
2 * Copyright (c) 2000-2001 Christoph Hellwig.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 150 unchanged lines hidden (view full) ---

159
160 infp->vsi_stilist = vxfs_get_fake_inode(sbp, tip);
161 if (!infp->vsi_stilist) {
162 printk(KERN_ERR "vxfs: unable to get structural list inode\n");
163 kfree(tip);
164 goto out_free_pfp;
165 }
166 if (!VXFS_ISILT(VXFS_INO(infp->vsi_stilist))) {
1/*
2 * Copyright (c) 2000-2001 Christoph Hellwig.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 150 unchanged lines hidden (view full) ---

159
160 infp->vsi_stilist = vxfs_get_fake_inode(sbp, tip);
161 if (!infp->vsi_stilist) {
162 printk(KERN_ERR "vxfs: unable to get structural list inode\n");
163 kfree(tip);
164 goto out_free_pfp;
165 }
166 if (!VXFS_ISILT(VXFS_INO(infp->vsi_stilist))) {
167 printk(KERN_ERR "vxfs: structual list inode is of wrong type (%x)\n",
167 printk(KERN_ERR "vxfs: structural list inode is of wrong type (%x)\n",
168 VXFS_INO(infp->vsi_stilist)->vii_mode & VXFS_TYPE_MASK);
169 goto out_iput_stilist;
170 }
171
172 tip = vxfs_stiget(sbp, pfp->fsh_ilistino[0]);
173 if (!tip)
174 goto out_iput_stilist;
175 infp->vsi_ilist = vxfs_get_fake_inode(sbp, tip);

--- 28 unchanged lines hidden ---
168 VXFS_INO(infp->vsi_stilist)->vii_mode & VXFS_TYPE_MASK);
169 goto out_iput_stilist;
170 }
171
172 tip = vxfs_stiget(sbp, pfp->fsh_ilistino[0]);
173 if (!tip)
174 goto out_iput_stilist;
175 infp->vsi_ilist = vxfs_get_fake_inode(sbp, tip);

--- 28 unchanged lines hidden ---