commit | 9bb21cedda7cd69789e1f93d7d918f5ca48ba165 | [log] [tgz] |
---|---|---|
author | Tahsin Erdogan <tahsin@google.com> | Wed Jun 21 22:05:44 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Jun 21 22:05:44 2017 -0400 |
tree | 8b5023991731f6c1014543093a3dc7a983affd59 | |
parent | 0bd454c04f02e7bb101d8ff510b54826eda4a5f0 [diff] |
ext4: fix ext4_xattr_make_inode_space() value size calculation ext4_xattr_make_inode_space() is interested in calculating the inline space used in an inode. When a xattr entry refers to an external inode the value size indicates the external inode size, not the value size in the inline area. Change the function to take this into account. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>