***************************************************************************/
struct shrinker {
- ;
+ /* Need padding due to certain versions of gcc (4.3) which will not
+ * build with an empty structure. */
+ int pad;
};
#define DEFAULT_SEEKS (0)
}
static struct dentry *
-osd_object_spec_find(struct osd_thread_info *info, struct osd_device *osd,
+osd_obj_spec_find(struct osd_thread_info *info, struct osd_device *osd,
const struct lu_fid *fid, char **name)
{
struct dentry *root = ERR_PTR(-ENOENT);
struct thandle *th)
{
struct dentry *root;
- char *name;
+ char *name = NULL;
int rc;
ENTRY;
- root = osd_object_spec_find(info, osd, fid, &name);
+ root = osd_obj_spec_find(info, osd, fid, &name);
if (!IS_ERR(root)) {
rc = osd_obj_update_entry(info, osd, root, name, fid, id, th);
} else {
int rc;
ENTRY;
- root = osd_object_spec_find(info, osd, fid, &name);
+ root = osd_obj_spec_find(info, osd, fid, &name);
if (!IS_ERR(root)) {
rc = osd_obj_add_entry(info, osd, root, name, id, th);
} else {
struct dentry *root;
struct dentry *dentry;
struct inode *inode;
- char *name;
+ char *name = NULL;
int rc = -ENOENT;
ENTRY;