Project

General

Profile

Actions

Bug #6514

closed

AS_* lock macros simplification

Added by Josef Sipek almost 6 years ago. Updated almost 6 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.

Actions #1

Updated by Electric Monk almost 6 years ago

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

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>

Actions

Also available in: Atom PDF