Messages in this thread | | | Date | Thu, 22 Oct 2009 00:27:59 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH] sony_pi: Remove the BKL from sonypi_misc_open |
| |
On Thu, Oct 22, 2009 at 12:06:32AM +0200, John Kacur wrote: > Okay, I'm sure there is something wrong in this methodology, but it's late > at night. At least for a ballpark figure, hopefully it's right. > > Files that mentions "file_operations" - > Files that mention "file_operations" and mention "llseek" > = 1172 - 596 = 572 (in my particular git repo) > > So, over 550 files that need to be set to no_llseek, locked_llseek, or > unlocked_llseek. Yikes! > > [jkacur@tycho rt.linux.git]$ git-grep -l file_operations | grep -v > Documentation | wc -l > 1172 > [jkacur@tycho rt.linux.git]$ git-grep -l llseek $(git-grep -l > file_operations | grep -v Documentation) | wc -l > 596 >
So much?
Ok, a default_lseek pushdown patch wouldn't be accepted :)
Well, I guess we first need to fix the sites that explicitly use the bkl, one by one, and after that probably propose a new locked version but without the bkl...
| |