[linux-cifs-client] [PATCH] cifs: guard against hardlinking directories

Jeff Layton jlayton at redhat.com
Tue May 11 13:21:49 MDT 2010


On Tue, 11 May 2010 13:43:27 -0500
Steve French <smfrench at gmail.com> wrote:

> On Tue, May 11, 2010 at 1:15 PM, Jeff Layton <jlayton at redhat.com> wrote:
> > On Tue, 11 May 2010 12:15:51 -0500
> > Steve French <smfrench at gmail.com> wrote:
> >
> >> Merged into cifs-2.6.git - if the branch for-linus does not look
> >> weird/broken, plan to request upstream tonight.
> >>
> >>
> >>
> >
> > I just made some comments on this to the bug:
> >
> > https://bugzilla.samba.org/show_bug.cgi?id=7407#c13
> >
> > ...I wonder whether this patch may be too aggressive about disabling
> > serverino. It seems like we ought to be OK with finding an inode that
> > is "floating", just not one that has a dentry already attached.
> > Thoughts?
> >
> > --
> > Jeff Layton <jlayton at redhat.com>
> >
> 
> I agree - but have to deal with the oops first ASAP - narrow it later.
> 

I tend to agree -- disabling server inode numbers unnecessarily is
better than oopsing at umount. I did just test the attached modified
patch however and it fixes the reproducer I have for this. Thoughts on
going with this instead?

-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list