I tried to copy/paste the patch at:

http://git.openafs.org/?p=openafs.git;a=blobdiff;f=src/afs/LINUX/osi_vnodeops.c;h=969a27b271ed3b809f1ddaa462099a5cc09d7886;hp=c1acca962337dff1cf66916c1e3e876bd8468e54;hb=a72dafafddaaa5bfe86c067a605aeffa16572c51;hpb=6d74e3d6a1becf86cec30efc2d01a5692167afe1

But it failed for me with openafs-1.6.22.2-src.tar.bz2

patching file src/afs/LINUX/osi_vnodeops.c
Hunk #1 FAILED at 53.
Hunk #2 succeeded at 296 (offset -6 lines).
Hunk #3 succeeded at 378 (offset -7 lines).
Hunk #4 FAILED at 455.
Hunk #5 FAILED at 475.
Hunk #6 FAILED at 798.
4 out of 6 hunks FAILED -- saving rejects to file
src/afs/LINUX/osi_vnodeops.c.rej


So I made my own patch based on that one.

https://pastebin.com/NZsUz9Jg

In RHEL 7.5 beta edition vm on kernel 3.10.0-830.el7.x86_64 openafs Works
like a CHAMP. :) Can list directories again. Can also edit files in afs.
Whew.

Did further testing to be paranoid. Testing listing directories and editing
a file in afs path.

Patch was applied across all distros below...

centos 6 32 bit kernel 2.6.32-696.20.1.el6.i686: works
centos 6 64 bit kernel 2.6.32-696.20.1.el6.x86_64: works
centos 7.4 64 bit kernel 3.10.0-693.17.1.el7.x86_64: works
fedora 26 64 bit kernel 4.15.6-200.fc26.x86_64: works
fedora 27 64 bit kernel  4.15.6-300.fc27.x86_64: works

Since all tests succeeded I went ahead and committed and pushed to
github.com for my packages.

https://github.com/gsgatlin/openafs-rpms/commit/fd61c9ff2c21404fba5276d7f3919ef1e6ab545d

Thank you very much!





On Fri, Mar 2, 2018 at 11:05 AM, Stephan Wiesand <stephan.wies...@desy.de>
wrote:

>
> > On 02.Mar 2018, at 12:40, Gary Gatling <gsgat...@ncsu.edu> wrote:
> >
> >> On Fri, Mar 2, 2018 at 4:14 AM, Stephan Wiesand <
> stephan.wies...@desy.de> wrote:
> >>
> >>
> >> Once we have a change confirmed to fix the EL7.5 issue and not break
> other platforms, yes. Whether it will be available quite in time for 7.5 GA
> is hard to say. You can help...
> >>
> >>
> >> I will test this patch out later today and let you guys know what I
> find out. Thanks a lot.
>
> Make sure you grab the patch from set 3 (the latest revision). It might be
> the final solution.
>
> --
> Stephan Wiesand
> DESY - DV -
> Platanenallee 6
> 15738 Zeuthen, Germany
>
>
>

Reply via email to