Re: [patch 2/4] vfs: filp is never NULL in do_generic_file_read()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KOSAKI Motohiro
Date: Thursday, July 31, 2008 - 12:19 am

>  	*ppos = ((loff_t)index << PAGE_CACHE_SHIFT) + offset;

if filp is never NULL, BUG_ON is better?




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 2/4] vfs: filp is never NULL in do_generic_file ..., KOSAKI Motohiro, (Thu Jul 31, 12:19 am)