]> git.baikalelectronics.ru Git - kernel.git/commit
reiserfs: make per-inode xattr locking more fine grained
authorJeff Mahoney <jeffm@suse.com>
Mon, 30 Mar 2009 18:02:36 +0000 (14:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Mar 2009 19:16:38 +0000 (12:16 -0700)
commitbce29ee38a25e1604d03b25a2d37c202f61e211c
tree6bdeebd3a35d71db2c7ea3e48e3f617b5efbd81a
parentb4a1026b6993f34af0aaa56d4e40aea4c7e75e99
reiserfs: make per-inode xattr locking more fine grained

The per-inode locking can be made more fine-grained to surround just the
interaction with the filesystem itself.  This really only applies to
protecting reads during a write, since concurrent writes are barred with
inode->i_mutex at the vfs level.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/xattr.c
fs/reiserfs/xattr_acl.c
include/linux/reiserfs_fs_i.h
include/linux/reiserfs_xattr.h