Re: what on earth is going on here? paths above mountpoints turn into "(unreachable)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 20 Feb 2015 17:26:12 +0000 Nix <nix@xxxxxxxxxxxxx> wrote:

> On 16 Feb 2015, NeilBrown uttered the following:
> 
> > On Mon, 16 Feb 2015 13:46:28 +1100 NeilBrown <neilb@xxxxxxx> wrote:
> >
> >> Anyway, please try:
> >> 
> >> diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
> >> index 9b0c55cb2a2e..a460669dc395 100644
> >> --- a/fs/nfs/dir.c
> >> +++ b/fs/nfs/dir.c
> >> @@ -541,7 +541,7 @@ int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *en
> >>  
> >>  		count++;
> >>  
> >> -		if (desc->plus != 0)
> >> +		if (desc->plus != 0 && entry->fh.size)
> >>  			nfs_prime_dcache(desc->file->f_path.dentry, entry);
> >>  
> >>  		status = nfs_readdir_add_to_array(entry, page);
> >> 
> >> 
> >> which you might have to apply by hand.
> >
> > Make that "entry->fh->size", not "entry->fh.size" :-(
> 
> That looks to fix it (though my first day of testing was wasted because
> I forgot nordirplus was in the mount options :/ ).
> 

Excellent.  Thanks for testing.

NeilBrown

Attachment: pgp2TaqfnsFQG.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux