diff options
author | Tahsin Erdogan <tahsin@google.com> | 2017-06-22 10:26:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-06-22 10:26:31 -0400 |
commit | 0421a189bc8cdefa18a34aee962ac0558679b944 (patch) | |
tree | 3e701dfeeca3c987d1c815e8fa1461ea979bf8b8 /fs/ext4/migrate.c | |
parent | c1a5d5f6ab21eb7e6ff8cb99489d9001cf2a2850 (diff) | |
download | op-kernel-dev-0421a189bc8cdefa18a34aee962ac0558679b944.zip op-kernel-dev-0421a189bc8cdefa18a34aee962ac0558679b944.tar.gz |
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>
Diffstat (limited to 'fs/ext4/migrate.c')
0 files changed, 0 insertions, 0 deletions