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

fs/hfsplus/xattr_user.c: In function 'hfsplus_user_getxattr':
fs/hfsplus/xattr_user.c:21: error: 'NLS_MAX_CHARSET_SIZE' undeclared (first use in this function)
fs/hfsplus/xattr_user.c:21: error: (Each undeclared identifier is reported only once

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_user.c

index fc70f980a58effb55fb72f92923a2b54d1ad7b2d..2b625a538b64aab71ab0ee6b3b322aecab09134e 100644 (file)
@@ -6,6 +6,8 @@
  * Handler for user extended attributes.
  */
 
+#include <linux/nls.h>
+
 #include "hfsplus_fs.h"
 #include "xattr.h"