All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vegard Wærp" <vegarwa@online.no>
To: vegarwa@online.no
Subject: [PATCH] BeFS: load default nls if none is specified in mount options
Date: Sun, 29 Aug 2004 21:21:44 +0200	[thread overview]
Message-ID: <opsdideir8f6sr3p@yoda> (raw)

Makes the BeOS File Systen driver load the default nls
if none is specified in the "iocharset" mount option.


Signed-off-by: Vegard Wærp <vegarwa@online.no>


diff -urN a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
--- a/fs/befs/linuxvfs.c        2004-08-29 20:51:21.000000000 +0200
+++ b/fs/befs/linuxvfs.c        2004-08-29 20:59:45.583725680 +0200
@@ -857,10 +857,14 @@
                  befs_sb->nls = load_nls(befs_sb->mount_opts.iocharset);
                  if (!befs_sb->nls) {
                          befs_warning(sb, "Cannot load nls %s"
-                                    "loding default nls",
+                                    " loading default nls",
                                       befs_sb->mount_opts.iocharset);
                          befs_sb->nls = load_nls_default();
                  }
+       /* load default nls if none is specified  in mount options */
+       } else {
+               befs_debug(sb, "Loading default nls");
+               befs_sb->nls = load_nls_default();
          }

          return 0;


                 reply	other threads:[~2004-08-29 19:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=opsdideir8f6sr3p@yoda \
    --to=vegarwa@online.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.