]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: __btrfs_mod_ref should always use no_quota
authorJosef Bacik <jbacik@fb.com>
Wed, 2 Jul 2014 17:54:25 +0000 (10:54 -0700)
committerChris Mason <clm@fb.com>
Fri, 15 Aug 2014 14:43:11 +0000 (07:43 -0700)
commit43eed2458fd49eb20d729968f58513f6d460c675
tree6195bb6c071eda149030656bf765bbd1f74e7828
parentb64acb23d75b7d2e306f339aad88e36f49f6ad0c
Btrfs: __btrfs_mod_ref should always use no_quota

Before I extended the no_quota arg to btrfs_dec/inc_ref because I didn't
understand how snapshot delete was using it and assumed that we needed the
quota operations there.  With Mark's work this has turned out to be not the
case, we _always_ need to use no_quota for btrfs_dec/inc_ref, so just drop the
argument and make __btrfs_mod_ref call it's process function with no_quota set
always.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c