Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffed8ab3 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] Fix typo in rename of directories



A typo caused us to pass a NULL pointer when renaming directories. It
was accidentally introduced in: [GFS2] Clean up inode number handling

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 44f487a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -749,7 +749,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
		if (error)
			goto out_end_trans;

		error = gfs2_dir_mvino(ip, &name, nip, DT_DIR);
		error = gfs2_dir_mvino(ip, &name, ndip, DT_DIR);
		if (error)
			goto out_end_trans;
	} else {