Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 653abc5a authored by Chao Yu's avatar Chao Yu Committed by Sahitya Tummala
Browse files

f2fs: fix to show correct discard_granularity in sysfs



commit 80647e5f4c728ecea7d9190c6e7163755ff6835c upstream.

Fix below incorrect display when reading discard_granularity sysfs node.

$ cat /sys/fs/f2fs/<device>/discard_granularity
$ 16
$ echo 32 > /sys/fs/f2fs/<device>/discard_granularity
$ cat /sys/fs/f2fs/<device>/discard_granularity
$ 16

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Git-commit: 81f5fd84
Git-repo: https://android.googlesource.com/kernel/common.git


Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent a5cc346e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment