Exemple #1
0
static inline void file_free(struct file *f)
{
	file_check_state(f);
	if (f->f_ub == get_ub0())
		percpu_counter_dec(&nr_files);
	ub_file_uncharge(f);
	call_rcu(&f->f_u.fu_rcuhead, file_free_rcu);
}
Exemple #2
0
static inline void file_free(struct file *f)
{
	percpu_counter_dec(&nr_files);
	file_check_state(f);
	call_rcu(&f->f_u.fu_rcuhead, file_free_rcu);
}