[LU-4430] mdt_mfd_open() tests for FMODE_EXEC in error path Created: 03/Jan/14  Updated: 14/Jun/18  Resolved: 14/Feb/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.6.0, Lustre 2.5.1

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: mdt

Severity: 3
Rank (Obsolete): 12172

 Description   

At the bottom of mdt_mfd_open() we should test for MDS_FMODE_EXEC rather than FMODE_EXEC:

err_out:
        if (flags & FMODE_WRITE)
                        /* XXX We also need to close io epoch here.                       
                         * See LU-1220 - green */
                mdt_write_put(o);
        else if (flags & FMODE_EXEC)
                mdt_write_allow(o);
        return rc;
}


 Comments   
Comment by John Hammond [ 03/Jan/14 ]

Please see http://review.whamcloud.com/8719.

Comment by John Hammond [ 09/Jan/14 ]

Patch landed to master.

Generated at Sat Feb 10 01:42:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.