Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1672680

Re: [PATCH 21/32] ext4: modify ext4_xattr_ino_array to hold struct inode *

From Theodore Ts'o <tytso@mit.edu>
Newsgroups linux.kernel
Subject Re: [PATCH 21/32] ext4: modify ext4_xattr_ino_array to hold struct inode *
Date 2017-06-22 16:30 +0200
Message-ID <tVbho-5Uv-17@gated-at.bofh.it> (permalink)
References <tUVmh-3od-3@gated-at.bofh.it> <tUVmk-3od-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 21, 2017 at 02:21:31PM -0700, Tahsin Erdogan wrote:
> 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>

Added to the ext4 patch queue, thanks.

      	     	  	       - Ted

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 21/32] ext4: modify ext4_xattr_ino_array to hold struct inode * Tahsin Erdogan <tahsin@google.com> - 2017-06-21 23:30 +0200
  Re: [PATCH 21/32] ext4: modify ext4_xattr_ino_array to hold struct  inode * Theodore Ts'o <tytso@mit.edu> - 2017-06-22 16:30 +0200

csiph-web