Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9d5db
)
LU-3132 lfsck: fix the wrong data pointer
81/6181/2
author
Emoly Liu
<emoly.liu@intel.com>
Fri, 3 May 2013 07:52:51 +0000
(15:52 +0800)
committer
Emoly Liu
<emoly.liu@intel.com>
Fri, 3 May 2013 07:52:51 +0000
(15:52 +0800)
The patch is to pass a correct data pointer of struct lu_fid or
struct ll_recreate_obj to ioctl in lfsck_recreate_obj().
Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: I8301f311cc5aaf57ae51ceaeb74db25fe61b5cd6
e2fsck/lfsck.c
patch
|
blob
|
history
diff --git
a/e2fsck/lfsck.c
b/e2fsck/lfsck.c
index
6f489e5
..
b16f84e
100644
(file)
--- a/
e2fsck/lfsck.c
+++ b/
e2fsck/lfsck.c
@@
-774,7
+774,7
@@
static int lfsck_recreate_obj(int cmd, void *creat, struct ostid *oi,
return rc;
}
- rc = ioctl(fd, cmd,
&
creat);
+ rc = ioctl(fd, cmd, creat);
if (rc) {
rc = -errno;
log_write("[%u]: failed to recreate %s missing obj "DOSTID"\n",