Last patch was broken, thanks to Jack Burton for notifying me.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7606 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e81b5ee3a8
commit
f9ba8a1b61
@ -2889,7 +2889,7 @@ attr_remove(int fd, const char *name, bool kernel)
|
||||
else
|
||||
status = EROFS;
|
||||
|
||||
put_fd(fd);
|
||||
put_fd(descriptor);
|
||||
|
||||
return status;
|
||||
}
|
||||
@ -2929,9 +2929,9 @@ attr_rename(int fromfd, const char *fromName, int tofd, const char *toName, bool
|
||||
status = EROFS;
|
||||
|
||||
err1:
|
||||
put_fd(tofd);
|
||||
put_fd(toDescriptor);
|
||||
err:
|
||||
put_fd(fromfd);
|
||||
put_fd(fromDescriptor);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user