Searched hist:e0c476b128e37daa37d630dd68da5681e9c16bab (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | backref.c | diff e0c476b128e37daa37d630dd68da5681e9c16bab Wed Jun 28 22:56:57 CDT 2017 Jeff Mahoney <jeffm@suse.com> 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>
|