ext2fs: move assignment where it is not dead.
Submitted by: Christoph Mallon MFC after: 2 weeks
This commit is contained in:
parent
935c860d1b
commit
5e55b2c6f7
@ -1094,9 +1094,10 @@ ext2_checkpath(source, target, cred)
|
||||
error = EEXIST;
|
||||
goto out;
|
||||
}
|
||||
error = 0;
|
||||
if (target->i_number == EXT2_ROOTINO)
|
||||
if (target->i_number == EXT2_ROOTINO) {
|
||||
error = 0;
|
||||
goto out;
|
||||
}
|
||||
|
||||
for (;;) {
|
||||
if (vp->v_type != VDIR) {
|
||||
|
Loading…
Reference in New Issue
Block a user