needs porting to v4.1 (do_sync_read/do_sync_write no longer exist)

Bug #1473902 reported by Andy Whitcroft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Fix Released
High
Andy Whitcroft

Bug Description

Seems upstream have finally removed do_sync_read() and do_sync_write(), leading us to start defining compatibility functions which use also removed interfaces generic_file_read() and generic_file_write(). We need to avoid using these.

Andy Whitcroft (apw)
Changed in openafs (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Andy Whitcroft (apw)
Revision history for this message
Andy Whitcroft (apw) wrote :

Seems there are two 4.1 related upstream fixes in the git repository. Will try cherry-picking these.

Revision history for this message
Andy Whitcroft (apw) wrote :

Seems that the following two commits from what will likely be 1.6.13 upstream fix the builds:

commit 5c1237432edf4600111845d175c92252430d5f76
Author: Marc Dionne <email address hidden>
Date: Mon Apr 20 10:41:53 2015 -0300

    Linux 4.1: Don't define or use ->write directly

commit fcfa5ae2468d878db962a93d6013fcd3042e6c13
Author: Marc Dionne <email address hidden>
Date: Mon Apr 20 10:37:40 2015 -0300

    Linux 4.1: No need for do_sync_read

Changed in openafs (Ubuntu):
milestone: none → ubuntu-15.07
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openafs - 1.6.11.1-1ubuntu1

---------------
openafs (1.6.11.1-1ubuntu1) wily; urgency=low

  * d/p/Linux-4.1-No-need-for-do_sync_read.patch
    d/p/Linux-4.1-Don-t-define-or-use-write-directly.patch
    - Upstream v4.1 porting patches cherry-picked from upstream git.
      (LP: #1473902)

 -- Andy Whitcroft <email address hidden> Mon, 13 Jul 2015 10:06:55 +0100

Changed in openafs (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.