Skip to contentSkip to conversation

ext2: fix comment on ext2_try_to_allocate()

PATCH In review Namhyung Kim 2 participants 2 messages Sep 26, 2010 – Sep 27, 2010 ext2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext2: fix comment on ext2_try_to_allocate()

@handle doesn't exist in ext2. Remove it.
Also, fit comment header into kernel-doc format.

---
 fs/ext2/balloc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
fs/ext2/balloc.c +1 -2
index c6c684b..0d06f4e 100644
@@ -646,10 +646,9 @@ find_next_usable_block(int start, struct buffer_head *bh, int maxblocks)
 	return here;
 }
 
-/*
+/**
  * ext2_try_to_allocate()
  * @sb:			superblock
- * @handle:		handle to this transaction
  * @group:		given allocation block group
  * @bitmap_bh:		bufferhead holds the block bitmap
  * @grp_goal:		given target block within the group
Signature · 1 line
1.7.2.2
#1 lore raw
Quoted 4 lines · Namhyung Kim

@handle doesn't exist in ext2. Remove it.
Also, fit comment header into kernel-doc format.

Thanks. I've merged it in my tree.

Honza

Quoted 23 lines
---
 fs/ext2/balloc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
fs/ext2/balloc.c +1 -2
index c6c684b..0d06f4e 100644
@@ -646,10 +646,9 @@ find_next_usable_block(int start, struct buffer_head *bh, int maxblocks)
 	return here;
 }
 
-/*
+/**
  * ext2_try_to_allocate()
  * @sb:			superblock
- * @handle:		handle to this transaction
  * @group:		given allocation block group
  * @bitmap_bh:		bufferhead holds the block bitmap
  * @grp_goal:		given target block within the group
Signature · 1 line
1.7.2.2
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR