]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hfsplus-correct-usage-of-hfsplus_attr_max_strlen-for-non-english-attributes-fix-2
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:43:57 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:57 +0000 (10:43 +1000)
fix build

fs/hfsplus/xattr_security.c: In function 'hfsplus_security_getxattr':
fs/hfsplus/xattr_security.c:23: error: 'NLS_MAX_CHARSET_SIZE' undeclared (first use in this function)
fs/hfsplus/xattr_security.c:23: error: (Each undeclared identifier is reported o

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Anton Altaparmakov <anton@tuxera.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Cc: Sougata Santra <sougata@tuxera.com>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hfsplus/xattr_security.c
fs/hfsplus/xattr_trusted.c

index 716eedbbd237c24d145eb91262dbaf9be7ad7529..6ec5e107691f47841f536de29d039e31878a3033 100644 (file)
@@ -7,6 +7,8 @@
  */
 
 #include <linux/security.h>
+#include <linux/nls.h>
+
 #include "hfsplus_fs.h"
 #include "xattr.h"
 #include "acl.h"
index d2b1c1c819d712bd4887bcdf9c7b2288300f73b2..3c5f27e4746a918a208946691699c81cf76da8cf 100644 (file)
@@ -6,6 +6,8 @@
  * Handler for trusted extended attributes.
  */
 
+#include <linux/nls.h>
+
 #include "hfsplus_fs.h"
 #include "xattr.h"