diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2009-08-25 09:07:59 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2009-08-25 09:07:59 +0000 |
commit | b290c7f3040c7e27a839cda4f73c30b4004d76bf (patch) | |
tree | 97ae16701c2cef034b699b0051cacbe86c1d9ee0 /lib | |
parent | 697237681259821d3e26162186f2ed8d17cb8b22 (diff) |
Fix missing versioned symbol fuse_get_context@FUSE_2.2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -3455,6 +3455,18 @@ struct fuse_context *fuse_get_context(void) return &fuse_get_context_internal()->ctx; } +/* + * The size of fuse_context got extended, so need to be careful about + * incompatibility (i.e. a new binary cannot work with an old + * library). + */ +struct fuse_context *fuse_get_context_compat22(void); +struct fuse_context *fuse_get_context_compat22(void) +{ + return &fuse_get_context_internal()->ctx; +} +FUSE_SYMVER(".symver fuse_get_context_compat22,fuse_get_context@FUSE_2.2"); + int fuse_getgroups(int size, gid_t list[]) { fuse_req_t req = fuse_get_context_internal()->req; |