Thread (12 messages) 12 messages, 3 authors, 2012-08-06

Re: [PATCH 1/3] btrfs: extended inode refs

From: Stefan Behrens <hidden>
Date: 2012-07-06 15:14:22

On Fri, 06 Jul 2012 16:56:40 +0200, Jan Schmidt wrote:
On Mon, May 21, 2012 at 23:46 (+0200), Mark Fasheh wrote:
quoted
+int find_name_in_ext_backref(struct btrfs_path *path, const char *name,
+			     int name_len,
+			     struct btrfs_inode_extref **extref_ret)
Exported functions should be prefixed "btrfs_". What about btrfs_find_extref_name?
quoted
+
+static struct btrfs_inode_ref *
 btrfs_lookup_inode_ref(struct btrfs_trans_handle *trans,
static functions should not be prefixed "btrfs_".
Prefixing _all_ functions with the module name has some advantages:
- uniqueness for ctags(1)
- unique names in stack traces that allow to identify the module and to
find the source code

IMO Mark should not change it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help