OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f487a
)
[GFS2] Fix typo in rename of directories
author
Steven Whitehouse
<swhiteho@redhat.com>
Thu, 7 Jun 2007 10:29:35 +0000
(11:29 +0100)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 9 Jul 2007 07:23:19 +0000
(08:23 +0100)
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>
fs/gfs2/ops_inode.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/ops_inode.c
b/fs/gfs2/ops_inode.c
index
9cc07f4
..
84051b9
100644
(file)
--- 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, n
d
ip, DT_DIR);
if (error)
goto out_end_trans;
} else {