|
@@ -600,7 +600,7 @@ static int gfs2_create_inode(struct inode *dir, struct dentry *dentry,
|
|
|
int error, free_vfs_inode = 0;
|
|
|
u32 aflags = 0;
|
|
|
unsigned blocks = 1;
|
|
|
- struct gfs2_diradd da = { .bh = NULL, };
|
|
|
+ struct gfs2_diradd da = { .bh = NULL, .save_loc = 1, };
|
|
|
|
|
|
if (!name->len || name->len > GFS2_FNAMESIZE)
|
|
|
return -ENAMETOOLONG;
|
|
@@ -900,7 +900,7 @@ static int gfs2_link(struct dentry *old_dentry, struct inode *dir,
|
|
|
struct gfs2_inode *ip = GFS2_I(inode);
|
|
|
struct gfs2_holder ghs[2];
|
|
|
struct buffer_head *dibh;
|
|
|
- struct gfs2_diradd da = { .bh = NULL, };
|
|
|
+ struct gfs2_diradd da = { .bh = NULL, .save_loc = 1, };
|
|
|
int error;
|
|
|
|
|
|
if (S_ISDIR(inode->i_mode))
|
|
@@ -1338,7 +1338,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
|
|
|
struct gfs2_rgrpd *nrgd;
|
|
|
unsigned int num_gh;
|
|
|
int dir_rename = 0;
|
|
|
- struct gfs2_diradd da = { .nr_blocks = 0, };
|
|
|
+ struct gfs2_diradd da = { .nr_blocks = 0, .save_loc = 0, };
|
|
|
unsigned int x;
|
|
|
int error;
|
|
|
|