All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [GFS2] Fix typo in rename of directories
@ 2007-06-07 10:55 Steven Whitehouse
  0 siblings, 0 replies; only message in thread
From: Steven Whitehouse @ 2007-06-07 10:55 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi,

A very simple fix that I've just pushed to the git tree,

Steve.

------------------------------------------------------------------------------
From 463d8171d29a2719d7b7b7de1766f39d28763fa5 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho@redhat.com>
Date: Thu, 7 Jun 2007 11:29:35 +0100
Subject: [PATCH] [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: Steven Whitehouse <swhiteho@redhat.com>

diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 9cc07f4..84051b9 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -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 {
-- 
1.5.1.2





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-07 10:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 10:55 [Cluster-devel] [GFS2] Fix typo in rename of directories Steven Whitehouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.