Commit Graph

35 Commits

Author SHA1 Message Date
TBK ab4594b6a3
Bump version 2019-05-31 15:18:44 +02:00
TBK 000c77a2cf
fs: sdfat: Makefile use KERNELDIR variable 2019-05-31 15:18:03 +02:00
TBK ac668b16f4 Bump version
Added an extra value to indicate fork changes.
2019-03-13 03:59:58 +01:00
TBK 9f49c2b8a3 Add dkms 2019-03-13 03:58:30 +01:00
TBK 255176b3f5 Update README.md 2019-03-13 03:56:55 +01:00
TBK 6eeef3390c fs: sdfat: Fix compilation on Linux >= 5.0.0
current_kernel_time64() was removed with 5.0.0 - e4b92b108c
2019-03-13 03:52:30 +01:00
TBK 479f8dc1cc fs: sdfat: Add MODULE_ALIAS_FS for autoload
https://lwn.net/Articles/47412/
2019-03-13 03:48:23 +01:00
TBK 254cae403e fs: sdfat: fix Makefile 2019-03-13 03:45:47 +01:00
TBK 62f8daa4d2 fs: sdfat: fix blk for build as module 2019-03-13 03:45:03 +01:00
KNnut 4f65bdd301 fs: sdfat: Fix compilation on Linux >= 4.16 2019-01-23 17:00:31 +01:00
Noctis Ackerman d5b9695214 fs: sdfat: Fix frag_ratio formula
When there is no full au in AMAP, if we use the number of non-clean au
divides fsi->used_clusters * CLUS_PER_AU(sb), the frag_ratio is always
smaller than (or equal with) 100%, which is not right.

Actually, frag_ratio should be the the ratio that non-clean aus divides
the number of aus if all used_clusters are contiguous.

Signed-off-by: Noctis Ackerman <noctis.akm@gmail.com>
2019-01-11 15:57:44 +01:00
derfelot 46b831137b fs: sdfat: Update to version 2.1.8
Taken from SM-G965F_PP_Opensource kernel (G965FXXU2CRLI)
2019-01-11 14:02:25 +01:00
derfelot daca7c28f2 fs: sdfat: Update to version 2.0.8
Taken from SM-G965F_OO_Opensource kernel (G965FXXU2BRG6)

This is a fix of a661c8568b.
2018-08-20 15:38:47 +02:00
derfelot f3a2a47c5b Revert "fs: sdfat: Update to version 2.0.8"
This reverts commit a661c8568b.

This commit accidentally reverted 8949555ac6 in the process. I will redo it.
2018-08-20 15:38:47 +02:00
derfelot a661c8568b fs: sdfat: Update to version 2.0.8
Taken from SM-G965F_OO_Opensource kernel (G965FXXU2BRG6)
2018-08-10 07:59:36 +02:00
Adek Maulana aa8183ffbd sdfat: push rcu_barrier() from deactivate_locked_super() to filesystems
* This was introduce in:
  https://github.com/torvalds/linux/commit/8c0a853

Change-Id: Ia2488bac7937b35509a547ea387c2fed5303ffac
Signed-off-by: Adek Maulana <adekzmaulana@gmail.com>
2018-05-22 07:47:58 +02:00
GrayJack ac2599d1e3 fs: sdfat: Use clean_bdev_bh_alias instead of unmap_underlying_metadata for >=4.10
.readlink should be left uninitialised if no special .readlink is
required
Fixed a mistake of using __sdfat_writepage_end_io() instead of
__mpage_write_end_io() on mpage.c
2018-05-16 09:42:50 +02:00
GrayJack a4c7e654d7 fs: sdfat: Stop using CURRENT_TIME_SEC for Linux >= 4.9
CURRENT_TIME_SEC was removed from >= 4.12 plus it isn't y2038 safe.
Use current_time and ktime_get_real_ts where appropriate.
2018-05-16 09:42:50 +02:00
GrayJack df99e52a45 fs: sdfat: 4.14 replaced bi_bdev with a gendisk pointer and partitions index
Plus I did a better job changing bi_error to bi_status than last commit
2018-05-16 09:42:50 +02:00
GrayJack fd1891ed9e fs: sdfat: bio->bi_error got renamed to bio->bi_status on >= 4.13
(Partial)
2018-05-16 09:42:50 +02:00
Paul Keith bac33b62ec fs: sdfat: Fix default SDFAT_USE_FOR_VFAT
* This matches what other devices are using, and this only
  shows up if VFAT is off in the first place

Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2018-03-22 18:13:47 +01:00
Paul Keith 119a4b8760 fs: sdfat: Add -lineage extraversion to SDFAT_VERSION
* It has diverged enough to add this to differentiate it

Change-Id: I5e43ee01c785acbc5292c6c115a4e083eeeb36a6
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2018-03-22 18:13:47 +01:00
Andreas Schneider fc87de5ba5 Update README
vfat is already labled for sdcards so use that label instead of
introducing a new one.
2018-03-22 18:02:48 +01:00
Paul Keith 07d63cd2c7 Update to version 2.0.6 2018-03-22 18:02:48 +01:00
Paul Keith 8949555ac6 fs: sdfat: Fix compilation for 32-bit targets
Change-Id: I9a9f3e253001bfbb3a209bd16d2741c95c99f46b
2018-03-22 18:00:28 +01:00
Paul Keith 7c92f49abf fs: sdfat: Add config option to register sdFAT for VFAT
Change-Id: I72ba7a14b56175535884390e8601960b5d8ed1cf
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2018-03-22 18:00:28 +01:00
Paul Keith 2df38135b5 fs: sdfat: Add config option to register sdFAT for exFAT
Change-Id: Id57abf0a4bd0b433fecc622eecb383cd4ea29d17
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2018-03-22 18:00:28 +01:00
Paul Keith f82a5dff05 fs: sdfat: Allow disabling sdfat
Change-Id: If508804ba4d3536a98c70eb871771d26b628ad50
2018-02-20 15:45:24 +01:00
Paul Keith 2b43486806 fs: sdfat: Fix compilation without debugging
* And make WARNON debugging optional

Change-Id: Id59e908c8a60ded1238d3fd010f3d96cdde95f40
2018-02-20 15:45:24 +01:00
Paul Keith 54be288ec7 sdfat: Fix compilation on Linux 3.4 2018-02-19 18:14:11 +01:00
Andreas Schneider 9ae3355618 Add suggested config to README 2018-02-19 16:57:26 +01:00
Andreas Schneider 67ee495fe0 Add README file 2018-02-12 19:36:30 +01:00
Andreas Schneider fd7eb8364d Add License file 2018-02-12 19:32:41 +01:00
Andreas Schneider 0490ece85e Update from SM-G950F_OO_Opensource_kernel 2018-02-12 19:25:18 +01:00
Andreas Schneider 8e7bcf4240 The big bang!
Imported from G955FXXU1AQDD sources.
2018-02-12 18:51:19 +01:00