Project

General

Profile

Bug #6514

AS_* lock macros simplification

Added by Josef Sipek almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2015-12-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The AS_* lock/unlock/etc. macros take both the address space pointer and a pointer to the lock (which is part of the struct as. This is redundant. Change the macros to take only the address space struct, and dereference it to get the lock.

History

#1

Updated by Electric Monk over 4 years ago

  • % Done changed from 80 to 100
  • Status changed from New to Closed

git commit dc32d872cbeb56532bcea030255db9cd79bac7da

commit  dc32d872cbeb56532bcea030255db9cd79bac7da
Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Date:   2016-01-05T20:38:23.000Z

    6514 AS_* lock macros simplification
    Reviewed by: Piotr Jasiukajtis <estibi@me.com>
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Albert Lee <trisk@omniti.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF