diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-22 01:45:04 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 03:14:05 -0500 |
| commit | 479e64c21038326f4fe429b4ffb7ea6d3175c2dc (patch) | |
| tree | 420b7afecaa71d3c642600a271571dd48e998940 /fs/nls | |
| parent | 36a7411724b1caf2fa92b5e4a41576ee8f16769e (diff) | |
nls: have register_nls() set ->owner
pass owner explicitly to __register_nls(), make register_nls() a macro passing
THIS_MODULE as the owner argument to __register_nls().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nls')
52 files changed, 3 insertions, 53 deletions
diff --git a/fs/nls/mac-celtic.c b/fs/nls/mac-celtic.c index 634a8b717b02..266c2d7d50bd 100644 --- a/fs/nls/mac-celtic.c +++ b/fs/nls/mac-celtic.c | |||
| @@ -583,7 +583,6 @@ static struct nls_table table = { | |||
| 583 | .char2uni = char2uni, | 583 | .char2uni = char2uni, |
| 584 | .charset2lower = charset2lower, | 584 | .charset2lower = charset2lower, |
| 585 | .charset2upper = charset2upper, | 585 | .charset2upper = charset2upper, |
| 586 | .owner = THIS_MODULE, | ||
| 587 | }; | 586 | }; |
| 588 | 587 | ||
| 589 | static int __init init_nls_macceltic(void) | 588 | static int __init init_nls_macceltic(void) |
diff --git a/fs/nls/mac-centeuro.c b/fs/nls/mac-centeuro.c index 979e6265ac5e..9789c6057551 100644 --- a/fs/nls/mac-centeuro.c +++ b/fs/nls/mac-centeuro.c | |||
| @@ -513,7 +513,6 @@ static struct nls_table table = { | |||
| 513 | .char2uni = char2uni, | 513 | .char2uni = char2uni, |
| 514 | .charset2lower = charset2lower, | 514 | .charset2lower = charset2lower, |
| 515 | .charset2upper = charset2upper, | 515 | .charset2upper = charset2upper, |
| 516 | .owner = THIS_MODULE, | ||
| 517 | }; | 516 | }; |
| 518 | 517 | ||
| 519 | static int __init init_nls_maccenteuro(void) | 518 | static int __init init_nls_maccenteuro(void) |
diff --git a/fs/nls/mac-croatian.c b/fs/nls/mac-croatian.c index dd3f675911ee..bb19e7a07d43 100644 --- a/fs/nls/mac-croatian.c +++ b/fs/nls/mac-croatian.c | |||
| @@ -583,7 +583,6 @@ static struct nls_table table = { | |||
| 583 | .char2uni = char2uni, | 583 | .char2uni = char2uni, |
| 584 | .charset2lower = charset2lower, | 584 | .charset2lower = charset2lower, |
| 585 | .charset2upper = charset2upper, | 585 | .charset2upper = charset2upper, |
| 586 | .owner = THIS_MODULE, | ||
| 587 | }; | 586 | }; |
| 588 | 587 | ||
| 589 | static int __init init_nls_maccroatian(void) | 588 | static int __init init_nls_maccroatian(void) |
diff --git a/fs/nls/mac-cyrillic.c b/fs/nls/mac-cyrillic.c index 1112c84dd8bb..2a7dea36acba 100644 --- a/fs/nls/mac-cyrillic.c +++ b/fs/nls/mac-cyrillic.c | |||
| @@ -478,7 +478,6 @@ static struct nls_table table = { | |||
| 478 | .char2uni = char2uni, | 478 | .char2uni = char2uni, |
| 479 | .charset2lower = charset2lower, | 479 | .charset2lower = charset2lower, |
| 480 | .charset2upper = charset2upper, | 480 | .charset2upper = charset2upper, |
| 481 | .owner = THIS_MODULE, | ||
| 482 | }; | 481 | }; |
| 483 | 482 | ||
| 484 | static int __init init_nls_maccyrillic(void) | 483 | static int __init init_nls_maccyrillic(void) |
diff --git a/fs/nls/mac-gaelic.c b/fs/nls/mac-gaelic.c index 2de9158409c8..77b001653588 100644 --- a/fs/nls/mac-gaelic.c +++ b/fs/nls/mac-gaelic.c | |||
| @@ -548,7 +548,6 @@ static struct nls_table table = { | |||
| 548 | .char2uni = char2uni, | 548 | .char2uni = char2uni, |
| 549 | .charset2lower = charset2lower, | 549 | .charset2lower = charset2lower, |
| 550 | .charset2upper = charset2upper, | 550 | .charset2upper = charset2upper, |
| 551 | .owner = THIS_MODULE, | ||
| 552 | }; | 551 | }; |
| 553 | 552 | ||
| 554 | static int __init init_nls_macgaelic(void) | 553 | static int __init init_nls_macgaelic(void) |
diff --git a/fs/nls/mac-greek.c b/fs/nls/mac-greek.c index a86310082802..1eccf499e2eb 100644 --- a/fs/nls/mac-greek.c +++ b/fs/nls/mac-greek.c | |||
| @@ -478,7 +478,6 @@ static struct nls_table table = { | |||
| 478 | .char2uni = char2uni, | 478 | .char2uni = char2uni, |
| 479 | .charset2lower = charset2lower, | 479 | .charset2lower = charset2lower, |
| 480 | .charset2upper = charset2upper, | 480 | .charset2upper = charset2upper, |
| 481 | .owner = THIS_MODULE, | ||
| 482 | }; | 481 | }; |
| 483 | 482 | ||
| 484 | static int __init init_nls_macgreek(void) | 483 | static int __init init_nls_macgreek(void) |
diff --git a/fs/nls/mac-iceland.c b/fs/nls/mac-iceland.c index babe2998d5ce..cbd0875c6d69 100644 --- a/fs/nls/mac-iceland.c +++ b/fs/nls/mac-iceland.c | |||
| @@ -583,7 +583,6 @@ static struct nls_table table = { | |||
| 583 | .char2uni = char2uni, | 583 | .char2uni = char2uni, |
| 584 | .charset2lower = charset2lower, | 584 | .charset2lower = charset2lower, |
| 585 | .charset2upper = charset2upper, | 585 | .charset2upper = charset2upper, |
| 586 | .owner = THIS_MODULE, | ||
| 587 | }; | 586 | }; |
| 588 | 587 | ||
| 589 | static int __init init_nls_maciceland(void) | 588 | static int __init init_nls_maciceland(void) |
diff --git a/fs/nls/mac-inuit.c b/fs/nls/mac-inuit.c index 312364f010dc..fba8357aaf03 100644 --- a/fs/nls/mac-inuit.c +++ b/fs/nls/mac-inuit.c | |||
| @@ -513,7 +513,6 @@ static struct nls_table table = { | |||
| 513 | .char2uni = char2uni, | 513 | .char2uni = char2uni, |
| 514 | .charset2lower = charset2lower, | 514 | .charset2lower = charset2lower, |
| 515 | .charset2upper = charset2upper, | 515 | .charset2upper = charset2upper, |
| 516 | .owner = THIS_MODULE, | ||
| 517 | }; | 516 | }; |
| 518 | 517 | ||
| 519 | static int __init init_nls_macinuit(void) | 518 | static int __init init_nls_macinuit(void) |
diff --git a/fs/nls/mac-roman.c b/fs/nls/mac-roman.c index 53ce0809cbd2..b6a98a5208cd 100644 --- a/fs/nls/mac-roman.c +++ b/fs/nls/mac-roman.c | |||
| @@ -618,7 +618,6 @@ static struct nls_table table = { | |||
| 618 | .char2uni = char2uni, | 618 | .char2uni = char2uni, |
| 619 | .charset2lower = charset2lower, | 619 | .charset2lower = charset2lower, |
| 620 | .charset2upper = charset2upper, | 620 | .charset2upper = charset2upper, |
| 621 | .owner = THIS_MODULE, | ||
| 622 | }; | 621 | }; |
| 623 | 622 | ||
| 624 | static int __init init_nls_macroman(void) | 623 | static int __init init_nls_macroman(void) |
diff --git a/fs/nls/mac-romanian.c b/fs/nls/mac-romanian.c index add6f7a0c666..25547f023638 100644 --- a/fs/nls/mac-romanian.c +++ b/fs/nls/mac-romanian.c | |||
| @@ -583,7 +583,6 @@ static struct nls_table table = { | |||
| 583 | .char2uni = char2uni, | 583 | .char2uni = char2uni, |
| 584 | .charset2lower = charset2lower, | 584 | .charset2lower = charset2lower, |
| 585 | .charset2upper = charset2upper, | 585 | .charset2upper = charset2upper, |
| 586 | .owner = THIS_MODULE, | ||
| 587 | }; | 586 | }; |
| 588 | 587 | ||
| 589 | static int __init init_nls_macromanian(void) | 588 | static int __init init_nls_macromanian(void) |
diff --git a/fs/nls/mac-turkish.c b/fs/nls/mac-turkish.c index dffa96d5de00..b5454bc7b7fa 100644 --- a/fs/nls/mac-turkish.c +++ b/fs/nls/mac-turkish.c | |||
| @@ -583,7 +583,6 @@ static struct nls_table table = { | |||
| 583 | .char2uni = char2uni, | 583 | .char2uni = char2uni, |
| 584 | .charset2lower = charset2lower, | 584 | .charset2lower = charset2lower, |
| 585 | .charset2upper = charset2upper, | 585 | .charset2upper = charset2upper, |
| 586 | .owner = THIS_MODULE, | ||
| 587 | }; | 586 | }; |
| 588 | 587 | ||
| 589 | static int __init init_nls_macturkish(void) | 588 | static int __init init_nls_macturkish(void) |
diff --git a/fs/nls/nls_ascii.c b/fs/nls/nls_ascii.c index 7020e940f74e..a2620650d5e4 100644 --- a/fs/nls/nls_ascii.c +++ b/fs/nls/nls_ascii.c | |||
| @@ -148,7 +148,6 @@ static struct nls_table table = { | |||
| 148 | .char2uni = char2uni, | 148 | .char2uni = char2uni, |
| 149 | .charset2lower = charset2lower, | 149 | .charset2lower = charset2lower, |
| 150 | .charset2upper = charset2upper, | 150 | .charset2upper = charset2upper, |
| 151 | .owner = THIS_MODULE, | ||
| 152 | }; | 151 | }; |
| 153 | 152 | ||
| 154 | static int __init init_nls_ascii(void) | 153 | static int __init init_nls_ascii(void) |
diff --git a/fs/nls/nls_base.c b/fs/nls/nls_base.c index fea6bd5831dc..52ccd34b1e79 100644 --- a/fs/nls/nls_base.c +++ b/fs/nls/nls_base.c | |||
| @@ -232,13 +232,14 @@ int utf16s_to_utf8s(const wchar_t *pwcs, int inlen, enum utf16_endian endian, | |||
| 232 | } | 232 | } |
| 233 | EXPORT_SYMBOL(utf16s_to_utf8s); | 233 | EXPORT_SYMBOL(utf16s_to_utf8s); |
| 234 | 234 | ||
| 235 | int register_nls(struct nls_table * nls) | 235 | int __register_nls(struct nls_table *nls, struct module *owner) |
| 236 | { | 236 | { |
| 237 | struct nls_table ** tmp = &tables; | 237 | struct nls_table ** tmp = &tables; |
| 238 | 238 | ||
| 239 | if (nls->next) | 239 | if (nls->next) |
| 240 | return -EBUSY; | 240 | return -EBUSY; |
| 241 | 241 | ||
| 242 | nls->owner = owner; | ||
| 242 | spin_lock(&nls_lock); | 243 | spin_lock(&nls_lock); |
| 243 | while (*tmp) { | 244 | while (*tmp) { |
| 244 | if (nls == *tmp) { | 245 | if (nls == *tmp) { |
| @@ -252,6 +253,7 @@ int register_nls(struct nls_table * nls) | |||
| 252 | spin_unlock(&nls_lock); | 253 | spin_unlock(&nls_lock); |
| 253 | return 0; | 254 | return 0; |
| 254 | } | 255 | } |
| 256 | EXPORT_SYMBOL(__register_nls); | ||
| 255 | 257 | ||
| 256 | int unregister_nls(struct nls_table * nls) | 258 | int unregister_nls(struct nls_table * nls) |
| 257 | { | 259 | { |
| @@ -538,7 +540,6 @@ struct nls_table *load_nls_default(void) | |||
| 538 | return &default_table; | 540 | return &default_table; |
| 539 | } | 541 | } |
| 540 | 542 | ||
| 541 | EXPORT_SYMBOL(register_nls); | ||
| 542 | EXPORT_SYMBOL(unregister_nls); | 543 | EXPORT_SYMBOL(unregister_nls); |
| 543 | EXPORT_SYMBOL(unload_nls); | 544 | EXPORT_SYMBOL(unload_nls); |
| 544 | EXPORT_SYMBOL(load_nls); | 545 | EXPORT_SYMBOL(load_nls); |
diff --git a/fs/nls/nls_cp1250.c b/fs/nls/nls_cp1250.c index c8471fe78e4e..ace3e19d3407 100644 --- a/fs/nls/nls_cp1250.c +++ b/fs/nls/nls_cp1250.c | |||
| @@ -329,7 +329,6 @@ static struct nls_table table = { | |||
| 329 | .char2uni = char2uni, | 329 | .char2uni = char2uni, |
| 330 | .charset2lower = charset2lower, | 330 | .charset2lower = charset2lower, |
| 331 | .charset2upper = charset2upper, | 331 | .charset2upper = charset2upper, |
| 332 | .owner = THIS_MODULE, | ||
| 333 | }; | 332 | }; |
| 334 | 333 | ||
| 335 | static int __init init_nls_cp1250(void) | 334 | static int __init init_nls_cp1250(void) |
diff --git a/fs/nls/nls_cp1251.c b/fs/nls/nls_cp1251.c index 1939b46e772f..9273ddfd08a1 100644 --- a/fs/nls/nls_cp1251.c +++ b/fs/nls/nls_cp1251.c | |||
| @@ -283,7 +283,6 @@ static struct nls_table table = { | |||
| 283 | .char2uni = char2uni, | 283 | .char2uni = char2uni, |
| 284 | .charset2lower = charset2lower, | 284 | .charset2lower = charset2lower, |
| 285 | .charset2upper = charset2upper, | 285 | .charset2upper = charset2upper, |
| 286 | .owner = THIS_MODULE, | ||
| 287 | }; | 286 | }; |
| 288 | 287 | ||
| 289 | static int __init init_nls_cp1251(void) | 288 | static int __init init_nls_cp1251(void) |
diff --git a/fs/nls/nls_cp1255.c b/fs/nls/nls_cp1255.c index 8120ae2e091a..1caf5dfed85b 100644 --- a/fs/nls/nls_cp1255.c +++ b/fs/nls/nls_cp1255.c | |||
| @@ -365,7 +365,6 @@ static struct nls_table table = { | |||
| 365 | .char2uni = char2uni, | 365 | .char2uni = char2uni, |
| 366 | .charset2lower = charset2lower, | 366 | .charset2lower = charset2lower, |
| 367 | .charset2upper = charset2upper, | 367 | .charset2upper = charset2upper, |
| 368 | .owner = THIS_MODULE, | ||
| 369 | }; | 368 | }; |
| 370 | 369 | ||
| 371 | static int __init init_nls_cp1255(void) | 370 | static int __init init_nls_cp1255(void) |
diff --git a/fs/nls/nls_cp437.c b/fs/nls/nls_cp437.c index ff37a4628ce4..7ddb830da3fd 100644 --- a/fs/nls/nls_cp437.c +++ b/fs/nls/nls_cp437.c | |||
| @@ -369,7 +369,6 @@ static struct nls_table table = { | |||
| 369 | .char2uni = char2uni, | 369 | .char2uni = char2uni, |
| 370 | .charset2lower = charset2lower, | 370 | .charset2lower = charset2lower, |
| 371 | .charset2upper = charset2upper, | 371 | .charset2upper = charset2upper, |
| 372 | .owner = THIS_MODULE, | ||
| 373 | }; | 372 | }; |
| 374 | 373 | ||
| 375 | static int __init init_nls_cp437(void) | 374 | static int __init init_nls_cp437(void) |
diff --git a/fs/nls/nls_cp737.c b/fs/nls/nls_cp737.c index f5576b8be1b9..c593f683a0cd 100644 --- a/fs/nls/nls_cp737.c +++ b/fs/nls/nls_cp737.c | |||
| @@ -332,7 +332,6 @@ static struct nls_table table = { | |||
| 332 | .char2uni = char2uni, | 332 | .char2uni = char2uni, |
| 333 | .charset2lower = charset2lower, | 333 | .charset2lower = charset2lower, |
| 334 | .charset2upper = charset2upper, | 334 | .charset2upper = charset2upper, |
| 335 | .owner = THIS_MODULE, | ||
| 336 | }; | 335 | }; |
| 337 | 336 | ||
| 338 | static int __init init_nls_cp737(void) | 337 | static int __init init_nls_cp737(void) |
diff --git a/fs/nls/nls_cp775.c b/fs/nls/nls_cp775.c index 4905635d1c00..554c863745f2 100644 --- a/fs/nls/nls_cp775.c +++ b/fs/nls/nls_cp775.c | |||
| @@ -301,7 +301,6 @@ static struct nls_table table = { | |||
| 301 | .char2uni = char2uni, | 301 | .char2uni = char2uni, |
| 302 | .charset2lower = charset2lower, | 302 | .charset2lower = charset2lower, |
| 303 | .charset2upper = charset2upper, | 303 | .charset2upper = charset2upper, |
| 304 | .owner = THIS_MODULE, | ||
| 305 | }; | 304 | }; |
| 306 | 305 | ||
| 307 | static int __init init_nls_cp775(void) | 306 | static int __init init_nls_cp775(void) |
diff --git a/fs/nls/nls_cp850.c b/fs/nls/nls_cp850.c index fe5bdad50e2b..56cccd14b40b 100644 --- a/fs/nls/nls_cp850.c +++ b/fs/nls/nls_cp850.c | |||
| @@ -297,7 +297,6 @@ static struct nls_table table = { | |||
| 297 | .char2uni = char2uni, | 297 | .char2uni = char2uni, |
| 298 | .charset2lower = charset2lower, | 298 | .charset2lower = charset2lower, |
| 299 | .charset2upper = charset2upper, | 299 | .charset2upper = charset2upper, |
| 300 | .owner = THIS_MODULE, | ||
| 301 | }; | 300 | }; |
| 302 | 301 | ||
| 303 | static int __init init_nls_cp850(void) | 302 | static int __init init_nls_cp850(void) |
diff --git a/fs/nls/nls_cp852.c b/fs/nls/nls_cp852.c index ceb1c0166dd8..7cdc05ac1d40 100644 --- a/fs/nls/nls_cp852.c +++ b/fs/nls/nls_cp852.c | |||
| @@ -319,7 +319,6 @@ static struct nls_table table = { | |||
| 319 | .char2uni = char2uni, | 319 | .char2uni = char2uni, |
| 320 | .charset2lower = charset2lower, | 320 | .charset2lower = charset2lower, |
| 321 | .charset2upper = charset2upper, | 321 | .charset2upper = charset2upper, |
| 322 | .owner = THIS_MODULE, | ||
| 323 | }; | 322 | }; |
| 324 | 323 | ||
| 325 | static int __init init_nls_cp852(void) | 324 | static int __init init_nls_cp852(void) |
diff --git a/fs/nls/nls_cp855.c b/fs/nls/nls_cp855.c index cc7f5fb2e0c2..7426eea05663 100644 --- a/fs/nls/nls_cp855.c +++ b/fs/nls/nls_cp855.c | |||
| @@ -281,7 +281,6 @@ static struct nls_table table = { | |||
| 281 | .char2uni = char2uni, | 281 | .char2uni = char2uni, |
| 282 | .charset2lower = charset2lower, | 282 | .charset2lower = charset2lower, |
| 283 | .charset2upper = charset2upper, | 283 | .charset2upper = charset2upper, |
| 284 | .owner = THIS_MODULE, | ||
| 285 | }; | 284 | }; |
| 286 | 285 | ||
| 287 | static int __init init_nls_cp855(void) | 286 | static int __init init_nls_cp855(void) |
diff --git a/fs/nls/nls_cp857.c b/fs/nls/nls_cp857.c index e418e198e8d8..098309733ebd 100644 --- a/fs/nls/nls_cp857.c +++ b/fs/nls/nls_cp857.c | |||
| @@ -283,7 +283,6 @@ static struct nls_table table = { | |||
| 283 | .char2uni = char2uni, | 283 | .char2uni = char2uni, |
| 284 | .charset2lower = charset2lower, | 284 | .charset2lower = charset2lower, |
| 285 | .charset2upper = charset2upper, | 285 | .charset2upper = charset2upper, |
| 286 | .owner = THIS_MODULE, | ||
| 287 | }; | 286 | }; |
| 288 | 287 | ||
| 289 | static int __init init_nls_cp857(void) | 288 | static int __init init_nls_cp857(void) |
diff --git a/fs/nls/nls_cp860.c b/fs/nls/nls_cp860.c index a86c97d1aa34..84224478e731 100644 --- a/fs/nls/nls_cp860.c +++ b/fs/nls/nls_cp860.c | |||
| @@ -346,7 +346,6 @@ static struct nls_table table = { | |||
| 346 | .char2uni = char2uni, | 346 | .char2uni = char2uni, |
| 347 | .charset2lower = charset2lower, | 347 | .charset2lower = charset2lower, |
| 348 | .charset2upper = charset2upper, | 348 | .charset2upper = charset2upper, |
| 349 | .owner = THIS_MODULE, | ||
| 350 | }; | 349 | }; |
| 351 | 350 | ||
| 352 | static int __init init_nls_cp860(void) | 351 | static int __init init_nls_cp860(void) |
diff --git a/fs/nls/nls_cp861.c b/fs/nls/nls_cp861.c index bd920227acdf..dc873e4be092 100644 --- a/fs/nls/nls_cp861.c +++ b/fs/nls/nls_cp861.c | |||
| @@ -369,7 +369,6 @@ static struct nls_table table = { | |||
| 369 | .char2uni = char2uni, | 369 | .char2uni = char2uni, |
| 370 | .charset2lower = charset2lower, | 370 | .charset2lower = charset2lower, |
| 371 | .charset2upper = charset2upper, | 371 | .charset2upper = charset2upper, |
| 372 | .owner = THIS_MODULE, | ||
| 373 | }; | 372 | }; |
| 374 | 373 | ||
| 375 | static int __init init_nls_cp861(void) | 374 | static int __init init_nls_cp861(void) |
diff --git a/fs/nls/nls_cp862.c b/fs/nls/nls_cp862.c index e9b68eb3daf0..d5263e3c5566 100644 --- a/fs/nls/nls_cp862.c +++ b/fs/nls/nls_cp862.c | |||
| @@ -403,7 +403,6 @@ static struct nls_table table = { | |||
| 403 | .char2uni = char2uni, | 403 | .char2uni = char2uni, |
| 404 | .charset2lower = charset2lower, | 404 | .charset2lower = charset2lower, |
| 405 | .charset2upper = charset2upper, | 405 | .charset2upper = charset2upper, |
| 406 | .owner = THIS_MODULE, | ||
| 407 | }; | 406 | }; |
| 408 | 407 | ||
| 409 | static int __init init_nls_cp862(void) | 408 | static int __init init_nls_cp862(void) |
diff --git a/fs/nls/nls_cp863.c b/fs/nls/nls_cp863.c index f8a9b07ab4e2..051c9832e36a 100644 --- a/fs/nls/nls_cp863.c +++ b/fs/nls/nls_cp863.c | |||
| @@ -363,7 +363,6 @@ static struct nls_table table = { | |||
| 363 | .char2uni = char2uni, | 363 | .char2uni = char2uni, |
| 364 | .charset2lower = charset2lower, | 364 | .charset2lower = charset2lower, |
| 365 | .charset2upper = charset2upper, | 365 | .charset2upper = charset2upper, |
| 366 | .owner = THIS_MODULE, | ||
| 367 | }; | 366 | }; |
| 368 | 367 | ||
| 369 | static int __init init_nls_cp863(void) | 368 | static int __init init_nls_cp863(void) |
diff --git a/fs/nls/nls_cp864.c b/fs/nls/nls_cp864.c index 8d31f435fc6f..97eb1273b2f7 100644 --- a/fs/nls/nls_cp864.c +++ b/fs/nls/nls_cp864.c | |||
| @@ -389,7 +389,6 @@ static struct nls_table table = { | |||
| 389 | .char2uni = char2uni, | 389 | .char2uni = char2uni, |
| 390 | .charset2lower = charset2lower, | 390 | .charset2lower = charset2lower, |
| 391 | .charset2upper = charset2upper, | 391 | .charset2upper = charset2upper, |
| 392 | .owner = THIS_MODULE, | ||
| 393 | }; | 392 | }; |
| 394 | 393 | ||
| 395 | static int __init init_nls_cp864(void) | 394 | static int __init init_nls_cp864(void) |
diff --git a/fs/nls/nls_cp865.c b/fs/nls/nls_cp865.c index 4bd902fe3ec9..111214228525 100644 --- a/fs/nls/nls_cp865.c +++ b/fs/nls/nls_cp865.c | |||
| @@ -369,7 +369,6 @@ static struct nls_table table = { | |||
| 369 | .char2uni = char2uni, | 369 | .char2uni = char2uni, |
| 370 | .charset2lower = charset2lower, | 370 | .charset2lower = charset2lower, |
| 371 | .charset2upper = charset2upper, | 371 | .charset2upper = charset2upper, |
| 372 | .owner = THIS_MODULE, | ||
| 373 | }; | 372 | }; |
| 374 | 373 | ||
| 375 | static int __init init_nls_cp865(void) | 374 | static int __init init_nls_cp865(void) |
diff --git a/fs/nls/nls_cp866.c b/fs/nls/nls_cp866.c index bdc7cb391398..ffdcbc3fc38d 100644 --- a/fs/nls/nls_cp866.c +++ b/fs/nls/nls_cp866.c | |||
| @@ -287,7 +287,6 @@ static struct nls_table table = { | |||
| 287 | .char2uni = char2uni, | 287 | .char2uni = char2uni, |
| 288 | .charset2lower = charset2lower, | 288 | .charset2lower = charset2lower, |
| 289 | .charset2upper = charset2upper, | 289 | .charset2upper = charset2upper, |
| 290 | .owner = THIS_MODULE, | ||
| 291 | }; | 290 | }; |
| 292 | 291 | ||
| 293 | static int __init init_nls_cp866(void) | 292 | static int __init init_nls_cp866(void) |
diff --git a/fs/nls/nls_cp869.c b/fs/nls/nls_cp869.c index 9f283a2b151a..3b5a34589354 100644 --- a/fs/nls/nls_cp869.c +++ b/fs/nls/nls_cp869.c | |||
| @@ -297,7 +297,6 @@ static struct nls_table table = { | |||
| 297 | .char2uni = char2uni, | 297 | .char2uni = char2uni, |
| 298 | .charset2lower = charset2lower, | 298 | .charset2lower = charset2lower, |
| 299 | .charset2upper = charset2upper, | 299 | .charset2upper = charset2upper, |
| 300 | .owner = THIS_MODULE, | ||
| 301 | }; | 300 | }; |
| 302 | 301 | ||
| 303 | static int __init init_nls_cp869(void) | 302 | static int __init init_nls_cp869(void) |
diff --git a/fs/nls/nls_cp874.c b/fs/nls/nls_cp874.c index 0b3c4886f8c0..8dfaa10710fa 100644 --- a/fs/nls/nls_cp874.c +++ b/fs/nls/nls_cp874.c | |||
| @@ -256,7 +256,6 @@ static struct nls_table table = { | |||
| 256 | .char2uni = char2uni, | 256 | .char2uni = char2uni, |
| 257 | .charset2lower = charset2lower, | 257 | .charset2lower = charset2lower, |
| 258 | .charset2upper = charset2upper, | 258 | .charset2upper = charset2upper, |
| 259 | .owner = THIS_MODULE, | ||
| 260 | }; | 259 | }; |
| 261 | 260 | ||
| 262 | static int __init init_nls_cp874(void) | 261 | static int __init init_nls_cp874(void) |
diff --git a/fs/nls/nls_cp932.c b/fs/nls/nls_cp932.c index 0ffed6f1cebb..67b7398e8483 100644 --- a/fs/nls/nls_cp932.c +++ b/fs/nls/nls_cp932.c | |||
| @@ -7914,7 +7914,6 @@ static struct nls_table table = { | |||
| 7914 | .char2uni = char2uni, | 7914 | .char2uni = char2uni, |
| 7915 | .charset2lower = charset2lower, | 7915 | .charset2lower = charset2lower, |
| 7916 | .charset2upper = charset2upper, | 7916 | .charset2upper = charset2upper, |
| 7917 | .owner = THIS_MODULE, | ||
| 7918 | }; | 7917 | }; |
| 7919 | 7918 | ||
| 7920 | static int __init init_nls_cp932(void) | 7919 | static int __init init_nls_cp932(void) |
diff --git a/fs/nls/nls_cp936.c b/fs/nls/nls_cp936.c index 82770301bc3d..c96546cfec9f 100644 --- a/fs/nls/nls_cp936.c +++ b/fs/nls/nls_cp936.c | |||
| @@ -11092,7 +11092,6 @@ static struct nls_table table = { | |||
| 11092 | .char2uni = char2uni, | 11092 | .char2uni = char2uni, |
| 11093 | .charset2lower = charset2lower, | 11093 | .charset2lower = charset2lower, |
| 11094 | .charset2upper = charset2upper, | 11094 | .charset2upper = charset2upper, |
| 11095 | .owner = THIS_MODULE, | ||
| 11096 | }; | 11095 | }; |
| 11097 | 11096 | ||
| 11098 | static int __init init_nls_cp936(void) | 11097 | static int __init init_nls_cp936(void) |
diff --git a/fs/nls/nls_cp949.c b/fs/nls/nls_cp949.c index 8a7a2fe85c65..199171e97aa4 100644 --- a/fs/nls/nls_cp949.c +++ b/fs/nls/nls_cp949.c | |||
| @@ -13927,7 +13927,6 @@ static struct nls_table table = { | |||
| 13927 | .char2uni = char2uni, | 13927 | .char2uni = char2uni, |
| 13928 | .charset2lower = charset2lower, | 13928 | .charset2lower = charset2lower, |
| 13929 | .charset2upper = charset2upper, | 13929 | .charset2upper = charset2upper, |
| 13930 | .owner = THIS_MODULE, | ||
| 13931 | }; | 13930 | }; |
| 13932 | 13931 | ||
| 13933 | static int __init init_nls_cp949(void) | 13932 | static int __init init_nls_cp949(void) |
diff --git a/fs/nls/nls_cp950.c b/fs/nls/nls_cp950.c index ef2536829aa5..8e1418708209 100644 --- a/fs/nls/nls_cp950.c +++ b/fs/nls/nls_cp950.c | |||
| @@ -9463,7 +9463,6 @@ static struct nls_table table = { | |||
| 9463 | .char2uni = char2uni, | 9463 | .char2uni = char2uni, |
| 9464 | .charset2lower = charset2lower, | 9464 | .charset2lower = charset2lower, |
| 9465 | .charset2upper = charset2upper, | 9465 | .charset2upper = charset2upper, |
| 9466 | .owner = THIS_MODULE, | ||
| 9467 | }; | 9466 | }; |
| 9468 | 9467 | ||
| 9469 | static int __init init_nls_cp950(void) | 9468 | static int __init init_nls_cp950(void) |
diff --git a/fs/nls/nls_euc-jp.c b/fs/nls/nls_euc-jp.c index 7424929a278b..162b3f160353 100644 --- a/fs/nls/nls_euc-jp.c +++ b/fs/nls/nls_euc-jp.c | |||
| @@ -553,7 +553,6 @@ static struct nls_table table = { | |||
| 553 | .charset = "euc-jp", | 553 | .charset = "euc-jp", |
| 554 | .uni2char = uni2char, | 554 | .uni2char = uni2char, |
| 555 | .char2uni = char2uni, | 555 | .char2uni = char2uni, |
| 556 | .owner = THIS_MODULE, | ||
| 557 | }; | 556 | }; |
| 558 | 557 | ||
| 559 | static int __init init_nls_euc_jp(void) | 558 | static int __init init_nls_euc_jp(void) |
diff --git a/fs/nls/nls_iso8859-1.c b/fs/nls/nls_iso8859-1.c index 7b951bb5849c..69ac020d43b1 100644 --- a/fs/nls/nls_iso8859-1.c +++ b/fs/nls/nls_iso8859-1.c | |||
| @@ -239,7 +239,6 @@ static struct nls_table table = { | |||
| 239 | .char2uni = char2uni, | 239 | .char2uni = char2uni, |
| 240 | .charset2lower = charset2lower, | 240 | .charset2lower = charset2lower, |
| 241 | .charset2upper = charset2upper, | 241 | .charset2upper = charset2upper, |
| 242 | .owner = THIS_MODULE, | ||
| 243 | }; | 242 | }; |
| 244 | 243 | ||
| 245 | static int __init init_nls_iso8859_1(void) | 244 | static int __init init_nls_iso8859_1(void) |
diff --git a/fs/nls/nls_iso8859-13.c b/fs/nls/nls_iso8859-13.c index c4d52ea9f092..afb3f8f275f0 100644 --- a/fs/nls/nls_iso8859-13.c +++ b/fs/nls/nls_iso8859-13.c | |||
| @@ -267,7 +267,6 @@ static struct nls_table table = { | |||
| 267 | .char2uni = char2uni, | 267 | .char2uni = char2uni, |
| 268 | .charset2lower = charset2lower, | 268 | .charset2lower = charset2lower, |
| 269 | .charset2upper = charset2upper, | 269 | .charset2upper = charset2upper, |
| 270 | .owner = THIS_MODULE, | ||
| 271 | }; | 270 | }; |
| 272 | 271 | ||
| 273 | static int __init init_nls_iso8859_13(void) | 272 | static int __init init_nls_iso8859_13(void) |
diff --git a/fs/nls/nls_iso8859-14.c b/fs/nls/nls_iso8859-14.c index dc02600c7fe1..046370f0b6f0 100644 --- a/fs/nls/nls_iso8859-14.c +++ b/fs/nls/nls_iso8859-14.c | |||
| @@ -323,7 +323,6 @@ static struct nls_table table = { | |||
| 323 | .char2uni = char2uni, | 323 | .char2uni = char2uni, |
| 324 | .charset2lower = charset2lower, | 324 | .charset2lower = charset2lower, |
| 325 | .charset2upper = charset2upper, | 325 | .charset2upper = charset2upper, |
| 326 | .owner = THIS_MODULE, | ||
| 327 | }; | 326 | }; |
| 328 | 327 | ||
| 329 | static int __init init_nls_iso8859_14(void) | 328 | static int __init init_nls_iso8859_14(void) |
diff --git a/fs/nls/nls_iso8859-15.c b/fs/nls/nls_iso8859-15.c index 3c7dfc832ef1..7e34a841a056 100644 --- a/fs/nls/nls_iso8859-15.c +++ b/fs/nls/nls_iso8859-15.c | |||
| @@ -289,7 +289,6 @@ static struct nls_table table = { | |||
| 289 | .char2uni = char2uni, | 289 | .char2uni = char2uni, |
| 290 | .charset2lower = charset2lower, | 290 | .charset2lower = charset2lower, |
| 291 | .charset2upper = charset2upper, | 291 | .charset2upper = charset2upper, |
| 292 | .owner = THIS_MODULE, | ||
| 293 | }; | 292 | }; |
| 294 | 293 | ||
| 295 | static int __init init_nls_iso8859_15(void) | 294 | static int __init init_nls_iso8859_15(void) |
diff --git a/fs/nls/nls_iso8859-2.c b/fs/nls/nls_iso8859-2.c index a2d2197e4c77..7dd571181741 100644 --- a/fs/nls/nls_iso8859-2.c +++ b/fs/nls/nls_iso8859-2.c | |||
| @@ -290,7 +290,6 @@ static struct nls_table table = { | |||
| 290 | .char2uni = char2uni, | 290 | .char2uni = char2uni, |
| 291 | .charset2lower = charset2lower, | 291 | .charset2lower = charset2lower, |
| 292 | .charset2upper = charset2upper, | 292 | .charset2upper = charset2upper, |
| 293 | .owner = THIS_MODULE, | ||
| 294 | }; | 293 | }; |
| 295 | 294 | ||
| 296 | static int __init init_nls_iso8859_2(void) | 295 | static int __init init_nls_iso8859_2(void) |
diff --git a/fs/nls/nls_iso8859-3.c b/fs/nls/nls_iso8859-3.c index a61e0daa3a86..740b75ec4493 100644 --- a/fs/nls/nls_iso8859-3.c +++ b/fs/nls/nls_iso8859-3.c | |||
| @@ -290,7 +290,6 @@ static struct nls_table table = { | |||
| 290 | .char2uni = char2uni, | 290 | .char2uni = char2uni, |
| 291 | .charset2lower = charset2lower, | 291 | .charset2lower = charset2lower, |
| 292 | .charset2upper = charset2upper, | 292 | .charset2upper = charset2upper, |
| 293 | .owner = THIS_MODULE, | ||
| 294 | }; | 293 | }; |
| 295 | 294 | ||
| 296 | static int __init init_nls_iso8859_3(void) | 295 | static int __init init_nls_iso8859_3(void) |
diff --git a/fs/nls/nls_iso8859-4.c b/fs/nls/nls_iso8859-4.c index e8ff555483b6..8826021e32f5 100644 --- a/fs/nls/nls_iso8859-4.c +++ b/fs/nls/nls_iso8859-4.c | |||
| @@ -290,7 +290,6 @@ static struct nls_table table = { | |||
| 290 | .char2uni = char2uni, | 290 | .char2uni = char2uni, |
| 291 | .charset2lower = charset2lower, | 291 | .charset2lower = charset2lower, |
| 292 | .charset2upper = charset2upper, | 292 | .charset2upper = charset2upper, |
| 293 | .owner = THIS_MODULE, | ||
| 294 | }; | 293 | }; |
| 295 | 294 | ||
| 296 | static int __init init_nls_iso8859_4(void) | 295 | static int __init init_nls_iso8859_4(void) |
diff --git a/fs/nls/nls_iso8859-5.c b/fs/nls/nls_iso8859-5.c index 4721e8930124..7c04057a1ad8 100644 --- a/fs/nls/nls_iso8859-5.c +++ b/fs/nls/nls_iso8859-5.c | |||
| @@ -254,7 +254,6 @@ static struct nls_table table = { | |||
| 254 | .char2uni = char2uni, | 254 | .char2uni = char2uni, |
| 255 | .charset2lower = charset2lower, | 255 | .charset2lower = charset2lower, |
| 256 | .charset2upper = charset2upper, | 256 | .charset2upper = charset2upper, |
| 257 | .owner = THIS_MODULE, | ||
| 258 | }; | 257 | }; |
| 259 | 258 | ||
| 260 | static int __init init_nls_iso8859_5(void) | 259 | static int __init init_nls_iso8859_5(void) |
diff --git a/fs/nls/nls_iso8859-6.c b/fs/nls/nls_iso8859-6.c index 01a517d6d306..d4a881400d74 100644 --- a/fs/nls/nls_iso8859-6.c +++ b/fs/nls/nls_iso8859-6.c | |||
| @@ -245,7 +245,6 @@ static struct nls_table table = { | |||
| 245 | .char2uni = char2uni, | 245 | .char2uni = char2uni, |
| 246 | .charset2lower = charset2lower, | 246 | .charset2lower = charset2lower, |
| 247 | .charset2upper = charset2upper, | 247 | .charset2upper = charset2upper, |
| 248 | .owner = THIS_MODULE, | ||
| 249 | }; | 248 | }; |
| 250 | 249 | ||
| 251 | static int __init init_nls_iso8859_6(void) | 250 | static int __init init_nls_iso8859_6(void) |
diff --git a/fs/nls/nls_iso8859-7.c b/fs/nls/nls_iso8859-7.c index 2d27b93ef19e..37b75d825a75 100644 --- a/fs/nls/nls_iso8859-7.c +++ b/fs/nls/nls_iso8859-7.c | |||
| @@ -299,7 +299,6 @@ static struct nls_table table = { | |||
| 299 | .char2uni = char2uni, | 299 | .char2uni = char2uni, |
| 300 | .charset2lower = charset2lower, | 300 | .charset2lower = charset2lower, |
| 301 | .charset2upper = charset2upper, | 301 | .charset2upper = charset2upper, |
| 302 | .owner = THIS_MODULE, | ||
| 303 | }; | 302 | }; |
| 304 | 303 | ||
| 305 | static int __init init_nls_iso8859_7(void) | 304 | static int __init init_nls_iso8859_7(void) |
diff --git a/fs/nls/nls_iso8859-9.c b/fs/nls/nls_iso8859-9.c index 694bf070c721..557b98250d37 100644 --- a/fs/nls/nls_iso8859-9.c +++ b/fs/nls/nls_iso8859-9.c | |||
| @@ -254,7 +254,6 @@ static struct nls_table table = { | |||
| 254 | .char2uni = char2uni, | 254 | .char2uni = char2uni, |
| 255 | .charset2lower = charset2lower, | 255 | .charset2lower = charset2lower, |
| 256 | .charset2upper = charset2upper, | 256 | .charset2upper = charset2upper, |
| 257 | .owner = THIS_MODULE, | ||
| 258 | }; | 257 | }; |
| 259 | 258 | ||
| 260 | static int __init init_nls_iso8859_9(void) | 259 | static int __init init_nls_iso8859_9(void) |
diff --git a/fs/nls/nls_koi8-r.c b/fs/nls/nls_koi8-r.c index 43875310540d..811f232fccfb 100644 --- a/fs/nls/nls_koi8-r.c +++ b/fs/nls/nls_koi8-r.c | |||
| @@ -305,7 +305,6 @@ static struct nls_table table = { | |||
| 305 | .char2uni = char2uni, | 305 | .char2uni = char2uni, |
| 306 | .charset2lower = charset2lower, | 306 | .charset2lower = charset2lower, |
| 307 | .charset2upper = charset2upper, | 307 | .charset2upper = charset2upper, |
| 308 | .owner = THIS_MODULE, | ||
| 309 | }; | 308 | }; |
| 310 | 309 | ||
| 311 | static int __init init_nls_koi8_r(void) | 310 | static int __init init_nls_koi8_r(void) |
diff --git a/fs/nls/nls_koi8-ru.c b/fs/nls/nls_koi8-ru.c index e7bc1d75c78c..a80a741a8676 100644 --- a/fs/nls/nls_koi8-ru.c +++ b/fs/nls/nls_koi8-ru.c | |||
| @@ -55,7 +55,6 @@ static struct nls_table table = { | |||
| 55 | .charset = "koi8-ru", | 55 | .charset = "koi8-ru", |
| 56 | .uni2char = uni2char, | 56 | .uni2char = uni2char, |
| 57 | .char2uni = char2uni, | 57 | .char2uni = char2uni, |
| 58 | .owner = THIS_MODULE, | ||
| 59 | }; | 58 | }; |
| 60 | 59 | ||
| 61 | static int __init init_nls_koi8_ru(void) | 60 | static int __init init_nls_koi8_ru(void) |
diff --git a/fs/nls/nls_koi8-u.c b/fs/nls/nls_koi8-u.c index 8c9f0292b5ae..7e029e4c188a 100644 --- a/fs/nls/nls_koi8-u.c +++ b/fs/nls/nls_koi8-u.c | |||
| @@ -312,7 +312,6 @@ static struct nls_table table = { | |||
| 312 | .char2uni = char2uni, | 312 | .char2uni = char2uni, |
| 313 | .charset2lower = charset2lower, | 313 | .charset2lower = charset2lower, |
| 314 | .charset2upper = charset2upper, | 314 | .charset2upper = charset2upper, |
| 315 | .owner = THIS_MODULE, | ||
| 316 | }; | 315 | }; |
| 317 | 316 | ||
| 318 | static int __init init_nls_koi8_u(void) | 317 | static int __init init_nls_koi8_u(void) |
diff --git a/fs/nls/nls_utf8.c b/fs/nls/nls_utf8.c index 0d60a44acacd..afcfbc4a14db 100644 --- a/fs/nls/nls_utf8.c +++ b/fs/nls/nls_utf8.c | |||
| @@ -46,7 +46,6 @@ static struct nls_table table = { | |||
| 46 | .char2uni = char2uni, | 46 | .char2uni = char2uni, |
| 47 | .charset2lower = identity, /* no conversion */ | 47 | .charset2lower = identity, /* no conversion */ |
| 48 | .charset2upper = identity, | 48 | .charset2upper = identity, |
| 49 | .owner = THIS_MODULE, | ||
| 50 | }; | 49 | }; |
| 51 | 50 | ||
| 52 | static int __init init_nls_utf8(void) | 51 | static int __init init_nls_utf8(void) |
