Hi sfjro! I had problems when trying to compile a 3.4.42 kernel with real time and aufs patch. The file that failed was i_op.c. The message was that "struct mutex" did not have "owner" field. I reviewed the patch RT and found that changes "struct mutex" adding a level. "struct mutex" is defined as: struct mutex { rt_mutex struct lock; # ifdef CONFIG_DEBUG_LOCK_ALLOC struct lockdep_map dep_map; # endif }; It is in the definition of rt_mutex where it appears "owner". I modified the function that gave trouble this way: au_pin_hdir_set_owner void (struct au_pin * p, struct task_struct * task) { # if defined (CONFIG_DEBUG_MUTEXES) | | defined (CONFIG_SMP) # if defined (CONFIG_PREEMPT_RT_FULL) p-> hdir-> hi_inode-> i_mutex.lock.owner = task; # else p-> hdir-> hi_inode-> i_mutex.owner = task; # endif # endif } Now compiles without errors and everything seems ok. Attached a patch to that file for your review. (translated with google... i'am sorry)
aufs-3.4-rt.patch
Description: Binary data
------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d