aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-06-07 06:29:35 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-07-09 03:23:19 -0400
commitffed8ab342e39b8b5f4d5c94c37a708e225ffcd8 (patch)
tree9252837c88f117abbd5f1f6252d116f022067531 /fs/gfs2
parent44f487a5536a3afd96a9f571de24c36559e9ae82 (diff)
[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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 9cc07f442ef5..84051b997a43 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,
749 if (error) 749 if (error)
750 goto out_end_trans; 750 goto out_end_trans;
751 751
752 error = gfs2_dir_mvino(ip, &name, nip, DT_DIR); 752 error = gfs2_dir_mvino(ip, &name, ndip, DT_DIR);
753 if (error) 753 if (error)
754 goto out_end_trans; 754 goto out_end_trans;
755 } else { 755 } else {