]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/reiserfs/mode_string.c
at91sam9263ek: add mmc support
[karo-tx-uboot.git] / fs / reiserfs / mode_string.c
index b3f538906d69048c02be055a07cb86dd9c1da7c6..ec18dc16e9071480f5a05d1322f34dedb85fc6a1 100644 (file)
@@ -1,23 +1,9 @@
-/* vi: set sw=4 ts=4: */
 /*
  * mode_string implementation for busybox
  *
  * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* Aug 13, 2003
@@ -26,7 +12,6 @@
 
 
 #include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_REISER)
 #include <linux/stat.h>
 
 #if ( S_ISUID != 04000 ) || ( S_ISGID != 02000 ) || ( S_ISVTX != 01000 ) \
@@ -99,7 +84,6 @@ const char *bb_mode_string(int mode)
 
 /* The previous version used "0pcCd?bB-?l?s???".  However, the '0', 'C',
  * and 'B' types don't appear to be available on linux.  So I removed them. */
-//static const char type_chars[16] = "?pc?d?b?-?l?s???";
 static const char type_chars[16] = "?pc?d?b?-?l?s???";
 /*                                  0123456789abcdef */
 static const char mode_chars[7] = "rwxSTst";
@@ -139,5 +123,3 @@ const char *bb_mode_string(int mode)
 }
 
 #endif
-
-#endif /* CFG_CMD_REISER */