On Mon, May 23, 2011 at 12:13:07PM -0400, Josef Bacik wrote:
> On 05/21/2011 10:11 PM, Al Viro wrote:
> > On Fri, May 20, 2011 at 01:44:30PM -0400, Josef Bacik wrote:
> >> + if (unlikely(d_need_lookup(dentry))) {
> >> + if (nameidata_dentry_drop_rcu(nd, dentry))
> >> +
On 05/21/2011 10:11 PM, Al Viro wrote:
> On Fri, May 20, 2011 at 01:44:30PM -0400, Josef Bacik wrote:
>> +if (unlikely(d_need_lookup(dentry))) {
>> +if (nameidata_dentry_drop_rcu(nd, dentry))
>> +return -ECHILD;
>> +dpu
On Fri, May 20, 2011 at 01:44:30PM -0400, Josef Bacik wrote:
> + if (unlikely(d_need_lookup(dentry))) {
> + if (nameidata_dentry_drop_rcu(nd, dentry))
> + return -ECHILD;
> + dput(dentry);
> + dentry
Btrfs (and I'd venture most other fs's) stores its indexes in nice disk order
for readdir, but unfortunately in the case of anything that stats the files in
order that readdir spits back (like oh say ls) that means we still have to do
the normal lookup of the file, which means looking up our other