• Jaegeuk Kim's avatar
    f2fs: reserve the xattr space dynamically · de93653f
    Jaegeuk Kim authored
    This patch enables the number of direct pointers inside on-disk inode block to
    be changed dynamically according to the size of inline xattr space.
    
    The number of direct pointers, ADDRS_PER_INODE, can be changed only if the file
    has inline xattr flag.
    
    The number of direct pointers that will be used by inline xattrs is defined as
    F2FS_INLINE_XATTR_ADDRS.
    Current patch assigns F2FS_INLINE_XATTR_ADDRS to 0 temporarily.
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
    de93653f
file.c 16.1 KB