Commit f536808
ext4: refactor out ext4_generic_attr_store()
Refactor out the function ext4_generic_attr_store() to handle the setting
of values of various common types, with no functional changes.
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240319113325.3110393-3-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 9e8e819 commit f536808
1 file changed
Lines changed: 25 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | | - | |
448 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
| 450 | + | |
454 | 451 | | |
455 | 452 | | |
456 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | 459 | | |
462 | | - | |
463 | | - | |
464 | 460 | | |
465 | 461 | | |
466 | 462 | | |
| |||
470 | 466 | | |
471 | 467 | | |
472 | 468 | | |
473 | | - | |
474 | | - | |
475 | 469 | | |
476 | 470 | | |
477 | 471 | | |
478 | 472 | | |
479 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
480 | 489 | | |
481 | 490 | | |
482 | 491 | | |
483 | 492 | | |
| 493 | + | |
| 494 | + | |
484 | 495 | | |
485 | | - | |
486 | 496 | | |
487 | 497 | | |
488 | 498 | | |
| |||
0 commit comments