Commit Graph

22 Commits

Author SHA1 Message Date
Namjae Jeon
c3dd1a225a exfat: add more xfstests test in travis-CI
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-07 14:32:24 +09:00
Namjae Jeon
39018f1bca exfat: use truncate instead of dd command
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-04-06 22:21:36 +09:00
Namjae Jeon
2ac0fc42e4 exfat: disable build exfat with linus tree
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 14:58:30 +09:00
Namjae Jeon
1f5b9538b0 exfat: fix wrong exfat_oot repo directory name
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 14:29:20 +09:00
Namjae Jeon
91a2de7e4d exfat: fix wrong format option
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 14:24:30 +09:00
Tetsuhiro Kohada
0790539add exfat: Unify access to the boot sector
Unify access to boot sector via 'sbi->pbr_bh'.
This fixes vol_flags inconsistency at read failed in fs_set_vol_flags(),
and buffer_head leak in __exfat_fill_super().

Signed-off-by: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 14:11:45 +09:00
Joe Perches
e08ed90147 exfat: Use a more common logging style
Remove the direct use of KERN_<LEVEL> in functions by creating
separate exfat_<level> macros.

Miscellanea:

o Remove several unnecessary terminating newlines in formats
o Realign arguments and fit to 80 columns where appropriate

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 12:50:48 +09:00
Thomas Backlund
fb5c212fe0 exfat: add missing MODULE_ALIAS_FS()
This adds the necessary MODULE_ALIAS_FS() to exfat so the module gets
automatically loaded when an exfat filesystem is mounted.

Signed-off-by: Thomas Backlund <tmb@mageia.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 12:32:06 +09:00
Pali Rohár
ff09ff7549 exfat: Fix discard support
Discard support was always unconditionally disabled. Now it is disabled
only in the case when blk_queue_discard() returns false.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 12:32:03 +09:00
Pali Rohár
50fb5077e8 exfat: Simplify exfat_utf8_d_cmp() for code points above U+FFFF
If two Unicode code points represented in UTF-16 are different then also
their UTF-32 representation must be different. Therefore conversion from
UTF-32 to UTF-16 is not needed.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-04-06 12:30:39 +09:00
Namjae Jeon
dafa5b3b3a exfat: linux 5.6 kernel support
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-10 21:57:29 +09:00
Namjae Jeon
9c905ae9e7 exfat: fix typo
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-10 21:35:58 +09:00
Namjae Jeon
55bec22898 exfat: update README file
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-10 21:34:19 +09:00
Namjae Jeon
98de46168a exfat: enable check exfat filesystem
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-10 21:04:14 +09:00
Namjae Jeon
b25daea91c exfat: add build test and xfstests using travis CI
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-09 16:43:52 +09:00
Namjae Jeon
3772ef846a
Merge pull request #1 from namjaejeon/exfat-next
Exfat next
2020-02-08 19:14:21 +09:00
Namjae Jeon
4e3295fb51 exfat: fix build support from 4.1 to liunx 5.5 kernel
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-08 19:13:34 +09:00
Namjae Jeon
02572c91c5 exfat: add more testcases
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-02-06 08:08:50 +09:00
Namjae Jeon
f53d47cb58 exfat: linux 4.16 kernel build support
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-02-04 09:18:10 +09:00
Namjae Jeon
92d4cd0cde exfat: add travis-CI build and test support
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-03 22:43:47 +09:00
Namjae Jeon
9273f3d387 exfat: initial commit
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
2020-02-03 21:47:19 +09:00
Namjae Jeon
cbc66ddece
Initial commit 2020-01-31 09:47:20 +09:00