diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-01-14 23:36:33 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-14 23:36:33 -0800 |
commit | 27160c293115ac4c706d6597d683b8fe5c7bb887 (patch) | |
tree | fe69ddd7b41509a760ffafae466a2acb939366fc /fs/ext2/xattr.h | |
parent | d3401302fb7ab35d1e9dd95b3352b8e5cce169e7 (diff) | |
download | history-27160c293115ac4c706d6597d683b8fe5c7bb887.tar.gz |
[PATCH] ext3/EA: Ext3: factor our common xattr code; unnecessary lock
The ext3_xattr_set_handle2 and ext3_xattr_delete_inode functions contain
duplicate code to decrease the reference count of an xattr block. Move
this to a separate function.
Also we know we have exclusive access to the inode in
ext3_xattr_delete_inode; there is no need to grab the xattr_sem lock.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext2/xattr.h')
0 files changed, 0 insertions, 0 deletions