From: Eric Sandeen Date: Wed, 26 Oct 2011 07:32:07 +0000 (-0400) Subject: ext4: use ext4_reserve_inode_write in ext4_xattr_set_handle X-Git-Tag: v3.2-rc1~85^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=665436175c3ca9d35f135e1ba6bdd63745cff08a;p=pandora-kernel.git ext4: use ext4_reserve_inode_write in ext4_xattr_set_handle ext4_mark_iloc_dirty() says: * The caller must have previously called ext4_reserve_inode_write(). * Give this, we know that the caller already has write access to iloc->bh. ext4_xattr_set_handle, however, just open-codes it. May as well use the helper function for consistency. No bug here, just tidiness. (Note: on cleanup path, ext4_reserve_inode_write sets the bh to NULL if it returns an error, and brelse() of a null bh is handled gracefully). Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed