Re: [PATCH V6 07/10] aacraid: Created new mutex for ioctl path

2016-02-04 Thread Tomas Henzl
On 4.2.2016 00:06, Raghava Aditya Renukunta wrote: > aac_mutex was used to create protect the ioctl path for only the > compat path, it would be make more sense to place mutex in > aac_do_ioctl, which is the main ioctl function call that handles > all ioctl commands. > > Created new mutex

Re: [PATCH V6 07/10] aacraid: Created new mutex for ioctl path

2016-02-04 Thread Johannes Thumshirn
On Wed, Feb 03, 2016 at 03:06:05PM -0800, Raghava Aditya Renukunta wrote: > aac_mutex was used to create protect the ioctl path for only the > compat path, it would be make more sense to place mutex in > aac_do_ioctl, which is the main ioctl function call that handles > all ioctl commands. > >

[PATCH V6 07/10] aacraid: Created new mutex for ioctl path

2016-02-03 Thread Raghava Aditya Renukunta
aac_mutex was used to create protect the ioctl path for only the compat path, it would be make more sense to place mutex in aac_do_ioctl, which is the main ioctl function call that handles all ioctl commands. Created new mutex ioctl_mutex in struct aac_dev to protect switch case in aac_do_ioctl