Re: how to look for source code in kernel

From: Al Viro
Date: Fri Dec 28 2012 - 11:09:33 EST


On Thu, Dec 27, 2012 at 11:36:13PM -0800, Eric W. Biederman wrote:
> But then I am probably peculiar keeping an index of the source code in
> my head. When I need to look for something and I don't know where to
> find it I do.
>
> git-ls-files | xargs fgrep 'struct f2fs_inode'

What's wrong with git grep?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/