btrfs: backref, cleanup __ namespace abuse
authorJeff Mahoney <jeffm@suse.com>
Thu, 29 Jun 2017 03:56:57 +0000 (21:56 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 12:19:53 +0000 (14:19 +0200)
commite0c476b128e37daa37d630dd68da5681e9c16bab
tree80d0cbbd2c8ca67624f2f9ac9bf8c597d882075a
parent4dae077a83dd8944ed351b09a0651c1283f46185
btrfs: backref, cleanup __ namespace abuse

We typically use __ to indicate a helper routine that shouldn't be
called directly without understanding the proper context required
to do so.  We use static functions to indicate that a function is
private to a particular C file.  The backref code uses static
function and __ prefixes on nearly everything, which makes the code
difficult to read and establishes a pattern for future code that
shouldn't be followed.  This patch drops all the unnecessary prefixes.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c