diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-19 15:13:37 +0530 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 16:19:38 +0100 |
commit | a99efafc266befc5eea09b75a50a3a4d4b262065 (patch) | |
tree | 52761f18c3028e4f1c7ac022238b2352559a28e6 /drivers/block | |
parent | 4b7a530f6b79d93571416dd0303545c691bdd5ff (diff) | |
download | blackbird-op-linux-a99efafc266befc5eea09b75a50a3a4d4b262065.tar.gz blackbird-op-linux-a99efafc266befc5eea09b75a50a3a4d4b262065.zip |
drivers: block: Mark function as static in drbd_actlog.c
Mark the function drbd_al_begin_io_prepare() as static in
drbd/drbd_actlog.c because it is not used outside this file.
This eliminates the following warnings in drbd/drbd_actlog.c:
drivers/block/drbd/drbd_actlog.c:277:6: warning: no previous prototype for ‘drbd_al_begin_io_prepare’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_actlog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_actlog.c b/drivers/block/drbd/drbd_actlog.c index a9b13f2cc420..58433581dc56 100644 --- a/drivers/block/drbd/drbd_actlog.c +++ b/drivers/block/drbd/drbd_actlog.c @@ -274,6 +274,7 @@ bool drbd_al_begin_io_fastpath(struct drbd_conf *mdev, struct drbd_interval *i) return _al_get(mdev, first, true); } +static bool drbd_al_begin_io_prepare(struct drbd_conf *mdev, struct drbd_interval *i) { /* for bios crossing activity log extent boundaries, |