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)
commit28861e3bbd9e7ac4cd9c811aad71b4d116e27930
treec50f85fe1c4e72b632b851d4c08965d1f1d2a21f
parent0e59a87ee619915c2eb189eb232a972c276681fb
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