aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-07-10 06:55:35 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-11 02:13:45 -0400
commitae86b9e3846f6fc5509dee721f2bdba1db8ab96a (patch)
treea648bc2912a6093295380b00a3942f8a8e2fd28f /net/ceph
parent2c53040f018b6c36a46eec75b9b937aaa5f78e6d (diff)
net: Fix non-kernel-doc comments with kernel-doc start marker
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/pagelist.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/net/ceph/pagelist.c b/net/ceph/pagelist.c
index 13cb409a7bba..665cd23020ff 100644
--- a/net/ceph/pagelist.c
+++ b/net/ceph/pagelist.c
@@ -72,8 +72,7 @@ int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len)
72} 72}
73EXPORT_SYMBOL(ceph_pagelist_append); 73EXPORT_SYMBOL(ceph_pagelist_append);
74 74
75/** 75/* Allocate enough pages for a pagelist to append the given amount
76 * Allocate enough pages for a pagelist to append the given amount
77 * of data without without allocating. 76 * of data without without allocating.
78 * Returns: 0 on success, -ENOMEM on error. 77 * Returns: 0 on success, -ENOMEM on error.
79 */ 78 */
@@ -95,9 +94,7 @@ int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space)
95} 94}
96EXPORT_SYMBOL(ceph_pagelist_reserve); 95EXPORT_SYMBOL(ceph_pagelist_reserve);
97 96
98/** 97/* Free any pages that have been preallocated. */
99 * Free any pages that have been preallocated.
100 */
101int ceph_pagelist_free_reserve(struct ceph_pagelist *pl) 98int ceph_pagelist_free_reserve(struct ceph_pagelist *pl)
102{ 99{
103 while (!list_empty(&pl->free_list)) { 100 while (!list_empty(&pl->free_list)) {
@@ -112,9 +109,7 @@ int ceph_pagelist_free_reserve(struct ceph_pagelist *pl)
112} 109}
113EXPORT_SYMBOL(ceph_pagelist_free_reserve); 110EXPORT_SYMBOL(ceph_pagelist_free_reserve);
114 111
115/** 112/* Create a truncation point. */
116 * Create a truncation point.
117 */
118void ceph_pagelist_set_cursor(struct ceph_pagelist *pl, 113void ceph_pagelist_set_cursor(struct ceph_pagelist *pl,
119 struct ceph_pagelist_cursor *c) 114 struct ceph_pagelist_cursor *c)
120{ 115{
@@ -124,8 +119,7 @@ void ceph_pagelist_set_cursor(struct ceph_pagelist *pl,
124} 119}
125EXPORT_SYMBOL(ceph_pagelist_set_cursor); 120EXPORT_SYMBOL(ceph_pagelist_set_cursor);
126 121
127/** 122/* Truncate a pagelist to the given point. Move extra pages to reserve.
128 * Truncate a pagelist to the given point. Move extra pages to reserve.
129 * This won't sleep. 123 * This won't sleep.
130 * Returns: 0 on success, 124 * Returns: 0 on success,
131 * -EINVAL if the pagelist doesn't match the trunc point pagelist 125 * -EINVAL if the pagelist doesn't match the trunc point pagelist