1. don't allocate redundant memory in read_all_xattrs.
2. introduce RESERVED_XATTR_SIZE for cleanup.
Signed-off-by: Chao Yu
Reviewed-by: Kinglong Mee
---
fs/f2fs/xattr.c | 25 +++--
fs/f2fs/xattr.h | 3 ++-
2 files changed, 13
1. don't allocate redundant memory in read_all_xattrs.
2. introduce RESERVED_XATTR_SIZE for cleanup.
Signed-off-by: Chao Yu
Reviewed-by: Kinglong Mee
---
fs/f2fs/xattr.c | 25 +++--
fs/f2fs/xattr.h | 3 ++-
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git
2 matches
Mail list logo