ext2fs: move assignment where it is not dead.
Submitted by: Christoph Mallon MFC after: 2 weeks
This commit is contained in:
parent
80b6a61199
commit
d427334435
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246352
@ -1094,9 +1094,10 @@ ext2_checkpath(source, target, cred)
|
|||||||
error = EEXIST;
|
error = EEXIST;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
error = 0;
|
if (target->i_number == EXT2_ROOTINO) {
|
||||||
if (target->i_number == EXT2_ROOTINO)
|
error = 0;
|
||||||
goto out;
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (vp->v_type != VDIR) {
|
if (vp->v_type != VDIR) {
|
||||||
|
Loading…
Reference in New Issue
Block a user