Merge "sdcard: avoid benign unsigned overflow" am: 64461c2
am: 182b310
* commit '182b310b1de5654a93c21417c77722897b93882d':
sdcard: avoid benign unsigned overflow
Change-Id: I14e80911060bb609de5b91a4c56315cd701857f9
This commit is contained in:
commit
e307f769f1
|
@ -826,7 +826,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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue