Bug 20132 - on rawhide, struct inode has changed
Summary: on rawhide, struct inode has changed
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-23 17:25 UTC by David Smith
Modified: 2016-05-23 18:57 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2016-05-23 17:25:53 UTC
On rawhide (4.7.0-0.rc0.git5.1.fc25.x86_64), the kernel's 'struct inode' has changed so that 'i_mutex' no longer exists. Starting with the following commit, a set of wrapper functions has been added in preparation for the removal of switching that mutex to a rwsem.

====
commit 5955102c9984fa081b2d570cfac75c97eecf8f3b
Author: Al Viro <viro@zeniv.linux.org.uk>
Date:   Fri Jan 22 15:40:57 2016 -0500

    wrappers for ->i_mutex access
    
    parallel to mutex_{lock,unlock,trylock,is_locked,lock_nested},
    inode_foo(inode) being mutex_foo(&inode->i_mutex).
    
    Please, use those for access to ->i_mutex; over the coming cycle
    ->i_mutex will become rwsem, with ->lookup() done with it held
    only shared.
====

The runtime should be updated to handle this change.
Comment 1 David Smith 2016-05-23 18:57:04 UTC
Fixed in commit 8f88890.