commit | 0421a189bc8cdefa18a34aee962ac0558679b944 | [log] [tgz] |
---|---|---|
author | Tahsin Erdogan <tahsin@google.com> | Thu Jun 22 10:26:31 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Jun 22 10:26:31 2017 -0400 |
tree | 3e701dfeeca3c987d1c815e8fa1461ea979bf8b8 | |
parent | c1a5d5f6ab21eb7e6ff8cb99489d9001cf2a2850 [diff] |
ext4: modify ext4_xattr_ino_array to hold struct inode * Tracking struct inode * rather than the inode number eliminates the repeated ext4_xattr_inode_iget() call later. The second call cannot fail in practice but still requires explanation when it wants to ignore the return value. Avoid the trouble and make things simple. Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>