]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: return old and new total ref mods when adding delayed refs
authorOmar Sandoval <osandov@fb.com>
Tue, 6 Jun 2017 23:45:30 +0000 (16:45 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 29 Jun 2017 18:17:01 +0000 (20:17 +0200)
commitd7c6497e258fae30725f88ba2caba3dd862bb3c9
tree5e432366945651742de3b48e72b0884d70ddcb02
parentdee8ba0d47139a4ea9ab4d24f4159d6e601584f4
Btrfs: return old and new total ref mods when adding delayed refs

We need this to decide when to account pinned bytes.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/extent-tree.c