Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2: nilfs2: fix infinite loop in nilfs_palloc_freev function
This commit is contained in:
commit
c269a1b2f4
|
@ -646,7 +646,7 @@ int nilfs_palloc_freev(struct inode *inode, __u64 *entry_nrs, size_t nitems)
|
|||
unsigned long group, group_offset;
|
||||
int i, j, n, ret;
|
||||
|
||||
for (i = 0; i < nitems; i += n) {
|
||||
for (i = 0; i < nitems; i = j) {
|
||||
group = nilfs_palloc_group(inode, entry_nrs[i], &group_offset);
|
||||
ret = nilfs_palloc_get_desc_block(inode, group, 0, &desc_bh);
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in a new issue