On 06/01/2017 05:44 PM, Nikolay Borisov wrote:
On 1.06.2017 11:57, Su Yue wrote:
Introduce function btrfs_is_namelen_valid.
The function compares arg @namelen with item boundary then returns value
represents namelen is valid or not.
Signed-off-by: Su Yue
---
fs/btrfs/ctree.h| 2 ++
On 1.06.2017 11:57, Su Yue wrote:
> Introduce function btrfs_is_namelen_valid.
>
> The function compares arg @namelen with item boundary then returns value
> represents namelen is valid or not.
>
> Signed-off-by: Su Yue
> ---
> fs/btrfs/ctree.h| 2 ++
> fs/btrfs/dir-item.c | 73
> +
Introduce function btrfs_is_namelen_valid.
The function compares arg @namelen with item boundary then returns value
represents namelen is valid or not.
Signed-off-by: Su Yue
---
fs/btrfs/ctree.h| 2 ++
fs/btrfs/dir-item.c | 73 +
2 files