diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-03-23 13:38:25 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-24 15:10:52 -0400 |
commit | 89e9eabd7ded4680f3b0f8ddc7398a3909de57c8 (patch) | |
tree | 433799bf85e08e0886216f990cefb1e52fbbda0c /fs/btrfs/tree-defrag.c | |
parent | 99f4b917b0411f660b06ffd30f3dc36cf7b05710 (diff) | |
download | linux-89e9eabd7ded4680f3b0f8ddc7398a3909de57c8.tar.gz linux-89e9eabd7ded4680f3b0f8ddc7398a3909de57c8.tar.bz2 linux-89e9eabd7ded4680f3b0f8ddc7398a3909de57c8.zip |
f2fs: clean up xattr operation
1. don't allocate redundant memory in read_all_xattrs.
2. introduce RESERVED_XATTR_SIZE for cleanup.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
0 files changed, 0 insertions, 0 deletions