diff options
author | Jin Qian <jinqian@google.com> | 2017-04-25 16:28:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 14:06:02 +0200 |
commit | c7f765b5d6bda480ae1aa2bf5734c9613d851f5f (patch) | |
tree | c352226f0ad63709c4a22e00cdd71e43b411aa46 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 275e2edbb8f1d13a58320cf205d710df70733fb5 (diff) | |
download | blackbird-op-linux-c7f765b5d6bda480ae1aa2bf5734c9613d851f5f.tar.gz blackbird-op-linux-c7f765b5d6bda480ae1aa2bf5734c9613d851f5f.zip |
f2fs: sanity check segment count
commit b9dd46188edc2f0d1f37328637860bb65a771124 upstream.
F2FS uses 4 bytes to represent block address. As a result, supported
size of disk is 16 TB and it equals to 16 * 1024 * 1024 / 2 segments.
Signed-off-by: Jin Qian <jinqian@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions