Merge "sdcard: avoid benign unsigned overflow"

This commit is contained in:
Treehugger Robot 2016-04-26 17:10:49 +00:00 committed by Gerrit Code Review
commit 64461c293c
1 changed files with 2 additions and 1 deletions
sdcard

View File

@ -822,7 +822,8 @@ static int handle_forget(struct fuse* fuse, struct fuse_handler* handler,
hdr->nodeid, node ? node->name : "?");
if (node) {
__u64 n = req->nlookup;
while (n--) {
while (n) {
n--;
release_node_locked(node);
}
}