Use "se" instead of "f" for struct fuse_session
authorNikolaus Rath <Nikolaus@rath.org>
Wed, 26 Oct 2016 03:38:34 +0000 (20:38 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 26 Oct 2016 03:38:34 +0000 (20:38 -0700)
commite63ed532cba49ecb936cf5941bd0e9bf60efb974
treebe30c5f672dd889a594a60aaa5e53a788717786a
parentae49d8860d28d6630cb78b079067ee5611f97382
Use "se" instead of "f" for struct fuse_session

The fuse_session pointer is sometimes called f and at other times
se. The former is an artifact from the time when there still was a
separate struct fuse_ll object.

For consistency and to easy maintenance, this patch changes the name of
the fuse_session pointer to "se" wherever possible.

This patch was generated by the following Coccinelle script:

@@
symbol f, se;
@@
struct fuse_session *
-f
+se
;
<...
-f
+se
...>

@@
expression expr;
@@
struct fuse_session *
-f
+se
= expr;
<...
-f
+se
...>

@@
identifier fn;
@@
fn(...,struct fuse_session *
-f
+se
,...) { <...
-f
+se
...> }

Due to its complexity, the do_init() function had to be commented out
and then patched manually.
lib/cuse_lowlevel.c
lib/fuse_lowlevel.c