]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Initiliaze sb blocksize only in one place + refactor
authorKari Argillander <kari.argillander@gmail.com>
Thu, 9 Sep 2021 18:09:42 +0000 (21:09 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 20 Sep 2021 15:53:12 +0000 (18:53 +0300)
commita9c132a4f795308a73d930d7e62611195cf3536e
treec50f85fe1c4e72b632b851d4c08965d1f1d2a21f
parent6e1ba11680cb86c372f677256c187c44a66ff86f
fs/ntfs3: Initiliaze sb blocksize only in one place + refactor

Right now sb blocksize first get initiliazed in fill_super but in can be
changed in helper function. It makes more sense to that this happened
only in one place.

Because we move this to helper function it makes more sense that
s_maxbytes will also be there. I rather have every sb releted thing in
fill_super, but because there is already sb releted stuff in this
helper. This will have to do for now.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/super.c