diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:41:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:41:09 -0500 |
commit | 1e8c573933fd7975679766850252ad08667e5ca4 (patch) | |
tree | 9600d0c7ee5ea8925f3c4dc30680c819e0363805 /fs | |
parent | d71eecf3b8e893757cc3dec560c96a32ac090890 (diff) | |
parent | 232443e2c90cc2930624dec89df327615b002c55 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (21 commits)
BUG_ON() Conversion in drivers/video/
BUG_ON() Conversion in drivers/parisc/
BUG_ON() Conversion in drivers/block/
BUG_ON() Conversion in sound/sparc/cs4231.c
BUG_ON() Conversion in drivers/s390/block/dasd.c
BUG_ON() Conversion in lib/swiotlb.c
BUG_ON() Conversion in kernel/cpu.c
BUG_ON() Conversion in ipc/msg.c
BUG_ON() Conversion in block/elevator.c
BUG_ON() Conversion in fs/coda/
BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
BUG_ON() Conversion in input/serio/hil_mlc.c
BUG_ON() Conversion in md/dm-hw-handler.c
BUG_ON() Conversion in md/bitmap.c
The comment describing how MS_ASYNC works in msync.c is confusing
rcu: undeclared variable used in documentation
fix typos "wich" -> "which"
typo patch for fs/ufs/super.c
Fix simple typos
tabify drivers/char/Makefile
...
Diffstat (limited to 'fs')
-rw-r--r-- | fs/befs/datastream.c | 2 | ||||
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 3 | ||||
-rw-r--r-- | fs/coda/cache.c | 2 | ||||
-rw-r--r-- | fs/coda/cnode.c | 3 | ||||
-rw-r--r-- | fs/ufs/super.c | 2 |
5 files changed, 5 insertions, 7 deletions
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c index 785f6b2d5d10..b7d6b920f65f 100644 --- a/fs/befs/datastream.c +++ b/fs/befs/datastream.c | |||
@@ -118,7 +118,7 @@ befs_fblock2brun(struct super_block *sb, befs_data_stream * data, | |||
118 | * befs_read_lsmylink - read long symlink from datastream. | 118 | * befs_read_lsmylink - read long symlink from datastream. |
119 | * @sb: Filesystem superblock | 119 | * @sb: Filesystem superblock |
120 | * @ds: Datastrem to read from | 120 | * @ds: Datastrem to read from |
121 | * @buf: Buffer in wich to place long symlink data | 121 | * @buf: Buffer in which to place long symlink data |
122 | * @len: Length of the long symlink in bytes | 122 | * @len: Length of the long symlink in bytes |
123 | * | 123 | * |
124 | * Returns the number of bytes read | 124 | * Returns the number of bytes read |
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index 5b3076e8ee90..a2e48c999c24 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -572,8 +572,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm, | |||
572 | csp -= sizeof(unsigned long); | 572 | csp -= sizeof(unsigned long); |
573 | __put_user(bprm->argc, (unsigned long *) csp); | 573 | __put_user(bprm->argc, (unsigned long *) csp); |
574 | 574 | ||
575 | if (csp != sp) | 575 | BUG_ON(csp != sp); |
576 | BUG(); | ||
577 | 576 | ||
578 | /* fill in the argv[] array */ | 577 | /* fill in the argv[] array */ |
579 | #ifdef CONFIG_MMU | 578 | #ifdef CONFIG_MMU |
diff --git a/fs/coda/cache.c b/fs/coda/cache.c index c607d923350a..5d0527133266 100644 --- a/fs/coda/cache.c +++ b/fs/coda/cache.c | |||
@@ -51,7 +51,7 @@ void coda_cache_clear_all(struct super_block *sb) | |||
51 | struct coda_sb_info *sbi; | 51 | struct coda_sb_info *sbi; |
52 | 52 | ||
53 | sbi = coda_sbp(sb); | 53 | sbi = coda_sbp(sb); |
54 | if (!sbi) BUG(); | 54 | BUG_ON(!sbi); |
55 | 55 | ||
56 | atomic_inc(&permission_epoch); | 56 | atomic_inc(&permission_epoch); |
57 | } | 57 | } |
diff --git a/fs/coda/cnode.c b/fs/coda/cnode.c index 23aeef5aa814..4c9fecbfa91f 100644 --- a/fs/coda/cnode.c +++ b/fs/coda/cnode.c | |||
@@ -120,8 +120,7 @@ void coda_replace_fid(struct inode *inode, struct CodaFid *oldfid, | |||
120 | 120 | ||
121 | cii = ITOC(inode); | 121 | cii = ITOC(inode); |
122 | 122 | ||
123 | if (!coda_fideq(&cii->c_fid, oldfid)) | 123 | BUG_ON(!coda_fideq(&cii->c_fid, oldfid)); |
124 | BUG(); | ||
125 | 124 | ||
126 | /* replace fid and rehash inode */ | 125 | /* replace fid and rehash inode */ |
127 | /* XXX we probably need to hold some lock here! */ | 126 | /* XXX we probably need to hold some lock here! */ |
diff --git a/fs/ufs/super.c b/fs/ufs/super.c index d257644a1aeb..db98a4c71e63 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c | |||
@@ -575,7 +575,7 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent) | |||
575 | if (!silent) | 575 | if (!silent) |
576 | printk("You didn't specify the type of your ufs filesystem\n\n" | 576 | printk("You didn't specify the type of your ufs filesystem\n\n" |
577 | "mount -t ufs -o ufstype=" | 577 | "mount -t ufs -o ufstype=" |
578 | "sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|netxstep-cd|openstep ...\n\n" | 578 | "sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...\n\n" |
579 | ">>>WARNING<<< Wrong ufstype may corrupt your filesystem, " | 579 | ">>>WARNING<<< Wrong ufstype may corrupt your filesystem, " |
580 | "default is ufstype=old\n"); | 580 | "default is ufstype=old\n"); |
581 | ufs_set_opt (sbi->s_mount_opt, UFSTYPE_OLD); | 581 | ufs_set_opt (sbi->s_mount_opt, UFSTYPE_OLD); |