diff options
author | Qu Wenruo <wqu@suse.com> | 2020-06-24 18:03:04 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-07 20:57:27 -0400 |
commit | 5bdcb37495d594c352221f582e31a0ec04b7d58b (patch) | |
tree | ca98adde9d3387f846c75c3b7ac43ad813bb70bc /cmd/pci.c | |
parent | 92bc179c5f85d0d55f2fecfbcaec8852e84fa0a4 (diff) | |
download | u-boot-5bdcb37495d594c352221f582e31a0ec04b7d58b.tar.gz u-boot-5bdcb37495d594c352221f582e31a0ec04b7d58b.tar.bz2 u-boot-5bdcb37495d594c352221f582e31a0ec04b7d58b.zip |
fs: btrfs: inode: Allow next_length() to return value > BTRFS_NAME_LEN
All existing next_length() caller handles return value > BTRFS_NAME_LEN,
so there is no need to do BTRFS_NAME_LEN check in next_length().
But still, we want to exit early if we're beyond BTRFS_NAME_LEN, so this
patch makes next_length() exit as soon as we're beyond BTRFS_NAME_LEN.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Diffstat (limited to 'cmd/pci.c')
0 files changed, 0 insertions, 0 deletions