diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-02-16 20:10:26 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-03-25 22:30:54 -0400 |
commit | b8a99a8f9f0aebf2a75bb0d9280bff7e7ac9b57e (patch) | |
tree | d987f21f5f1c7ea83b62fcf7d0bda6f10971d285 /fs/orangefs/orangefs-bufmap.h | |
parent | bf6bf606e545cb31c29499b354c13b2621acd649 (diff) | |
download | linux-stable-b8a99a8f9f0aebf2a75bb0d9280bff7e7ac9b57e.tar.gz linux-stable-b8a99a8f9f0aebf2a75bb0d9280bff7e7ac9b57e.tar.bz2 linux-stable-b8a99a8f9f0aebf2a75bb0d9280bff7e7ac9b57e.zip |
orangefs: saner calling conventions for getting a slot
just have it return the slot number or -E... - the caller checks
the sign anyway
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-bufmap.h')
-rw-r--r-- | fs/orangefs/orangefs-bufmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/orangefs/orangefs-bufmap.h b/fs/orangefs/orangefs-bufmap.h index babdc713c5e0..ec2849cb52e2 100644 --- a/fs/orangefs/orangefs-bufmap.h +++ b/fs/orangefs/orangefs-bufmap.h @@ -19,11 +19,11 @@ void orangefs_bufmap_finalize(void); void orangefs_bufmap_run_down(void); -int orangefs_bufmap_get(struct orangefs_bufmap **mapp, int *buffer_index); +int orangefs_bufmap_get(void); void orangefs_bufmap_put(int buffer_index); -int orangefs_readdir_index_get(struct orangefs_bufmap **mapp, int *buffer_index); +int orangefs_readdir_index_get(void); void orangefs_readdir_index_put(int buffer_index); |