aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorPavel Emelyanov <[email protected]>2008-07-25 01:46:55 -0700
committerLinus Torvalds <[email protected]>2008-07-25 10:53:35 -0700
commitf2992db2a4f7ae10f61d5bc68c7c1528cec639e2 (patch)
treea21366b27d11dbaef7aa810d50a935ef08538813 /include/linux/timerqueue.h
parent7e9abd89cbdf9b73d327d8173343abce9022609b (diff)
Mark res_counter_charge(_locked) with __must_check
Ignoring their return values may result in counter underflow in the future - when the value charged will be uncharged (or in "leaks" - when the value is not uncharged). This also prevents from using charging routines to decrement the counter value (i.e. uncharge it) ;) (Current code works OK with res_counter, however :) ) Signed-off-by: Pavel Emelyanov <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Paul Menage <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions