nilfs2: remove the second argument of k[un]map_atomic()
Acked-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
@@ -122,11 +122,11 @@ int nilfs_ifile_delete_inode(struct inode *ifile, ino_t ino)
|
||||
return ret;
|
||||
}
|
||||
|
||||
kaddr = kmap_atomic(req.pr_entry_bh->b_page, KM_USER0);
|
||||
kaddr = kmap_atomic(req.pr_entry_bh->b_page);
|
||||
raw_inode = nilfs_palloc_block_get_entry(ifile, req.pr_entry_nr,
|
||||
req.pr_entry_bh, kaddr);
|
||||
raw_inode->i_flags = 0;
|
||||
kunmap_atomic(kaddr, KM_USER0);
|
||||
kunmap_atomic(kaddr);
|
||||
|
||||
mark_buffer_dirty(req.pr_entry_bh);
|
||||
brelse(req.pr_entry_bh);
|
||||
|
Reference in New Issue
Block a user