2007/4/16, sur...@wi... <sur...@wi...>:
your patch is corrupted - try to apply it
>diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
>index e6f5799..b9ef210 100644
>--- a/fs/binfmt_misc.c
>+++ b/fs/binfmt_misc.c
>@@ -445,7 +445,7 @@ static void entry_status(Node *e, char *page)
> {
> char *dp;
> char *status = "disabled";
>- const char * flags = "flags: ";
>+ const char flags[] = "flags: ";
>
> if (test_bit(Enabled, &e->flags))
> status = "enabled";
it creates more code (on every call, this string will be copied)
mark this variable as static
>@@ -2369,7 +2369,7 @@ int ntfs_truncate(struct inode *vi)
> ntfs_attr_search_ctx *ctx;
> MFT_RECORD *m;
> ATTR_RECORD *a;
>- const char *te = " Leaving file length out of sync with i_size.";
>+ const char te[] = " Leaving file length out of sync with i_size.";
> int err, mp_size, size_change, alloc_change;
> u32 attr_len;
>
again
> diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
> index 1594c90..1fe6ddd 100644
> --- a/fs/ntfs/super.c
> +++ b/fs/ntfs/super.c
> @@ -647,7 +647,7 @@ not_ntfs:
> static struct buffer_head *read_ntfs_boot_sector(struct super_block
> *sb,
> const int silent)
> {
> - const char *read_err_str = "Unable to read %s boot sector.";
> + const char read_err_str[] = "Unable to read %s boot sector.";
> struct buffer_head *bh_primary, *bh_backup;
> sector_t nr_blocks = NTFS_SB(sb)->nr_blocks;
>
again
> @@ -2156,9 +2156,9 @@ get_ctx_vol_failed:
> }
> /* If (still) a read-write mount, stamp the transaction log. */
> if (!(sb->s_flags & MS_RDONLY) && !ntfs_stamp_usnjrnl(vol)) {
> - static const char *es1 = "Failed to stamp transaction log "
> + static const char []es1 = "Failed to stamp transaction log "
> "($UsnJrnl)";
> - static const char *es2 = ". Run chkdsk.";
> + static const char []es2 = ". Run chkdsk.";
>
> /* Convert to a read-only mount. */
> if (!(vol->on_errors & (ON_ERRORS_REMOUNT_RO |
doesn't compile
|