Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl II

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Tuesday, January 8, 2008 - 5:03 pm

> paolo@paolo-desktop:~/linux-2.6/mm$ grep "struct file_operations" *

If they don't have an ioctl handler they don't need to be modified, correct.


grep -P '\.ioctl.*=' $(grep -rl 'struct file_operations' * )

should work. There are also special multiline greps iirc that might also be able
to do this better (like sgrep)

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

Messages in current thread:
Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocke ..., Andi Kleen, (Tue Jan 8, 5:03 pm)