]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: calculate and reserve credits for xattr value in mknod
authorTiger Yang <tiger.yang@oracle.com>
Tue, 9 Dec 2008 08:42:51 +0000 (16:42 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:36 +0000 (08:40 -0800)
commit1d022ff9026ab62776ce6e60020e316918cabcc7
treea7c2d8ccab64ef70477992b0121dd52966c66154
parent52115167d7a5508ebd868ba30cb34edc92608b90
ocfs2: calculate and reserve credits for xattr value in mknod

We extend the credits for xattr's large value in set_value_outside
before, this can give rise to a credits issue when we set one security
entry and two acl entries duing mknod. As we remove extend_trans form
set_value_outside, we must calculate and reserve the credits for
xattr's large value in mknod.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c