summaryrefslogtreecommitdiff
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-02-02 08:13:29 -0600
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:47 -0500
commit499afd5b8e742792fda6bd7730c738ad83aecf6b (patch)
treea3cac0fa73a3251e80d8c6eb2e0eb9addbcc5e22 /mm/vmstat.c
parente124a82f3c4efc2cc2bae68a2bf30020fb8c4fc2 (diff)
rbd: tie rbd_dev_list changes to rbd_id operations
The only time entries are added to or removed from the global rbd_dev_list is exactly when a "put" or "get" operation is being performed on a rbd_dev's id. So just move the list management code into get/put routines. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions