aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2011-06-12 22:44:10 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-06-12 22:44:10 -0400
commit1fb74cda1b5e9c6207225fda5ef7504e815ce0e0 (patch)
tree9a4d05e917f6204e5edf6cd4044715847e0ba6b3 /fs
parenta9c667f8f0656631ee5438baaf21bf30d5f67375 (diff)
jbd2: Remove obsolete parameters in the comments for some jbd2 functions
credits isn't a parameter for jbd2_journal_get_write_access and jbd2_journal_get_undo_access. So remove the corresponding comments. Acked-by: Jan Kara <jack@suse.cz> Cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/jbd2/transaction.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 3eec82d32fd4..547b101049e5 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -814,7 +814,6 @@ out:
814 * int jbd2_journal_get_write_access() - notify intent to modify a buffer for metadata (not data) update. 814 * int jbd2_journal_get_write_access() - notify intent to modify a buffer for metadata (not data) update.
815 * @handle: transaction to add buffer modifications to 815 * @handle: transaction to add buffer modifications to
816 * @bh: bh to be used for metadata writes 816 * @bh: bh to be used for metadata writes
817 * @credits: variable that will receive credits for the buffer
818 * 817 *
819 * Returns an error code or 0 on success. 818 * Returns an error code or 0 on success.
820 * 819 *
@@ -932,7 +931,6 @@ out:
932 * non-rewindable consequences 931 * non-rewindable consequences
933 * @handle: transaction 932 * @handle: transaction
934 * @bh: buffer to undo 933 * @bh: buffer to undo
935 * @credits: store the number of taken credits here (if not NULL)
936 * 934 *
937 * Sometimes there is a need to distinguish between metadata which has 935 * Sometimes there is a need to distinguish between metadata which has
938 * been committed to disk and that which has not. The ext3fs code uses 936 * been committed to disk and that which has not. The ext3fs code uses