diff options
author | Younger Liu <younger.liu@huawei.com> | 2013-09-11 14:19:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 15:56:47 -0700 |
commit | 6ea437a3639b15e312f81819bb20f737ff596194 (patch) | |
tree | 4597c89df18548437a555660bf41adf076d1d908 /fs/ocfs2/dlm | |
parent | 17caf9555edc27a0c6df512de0879b357ebacae4 (diff) | |
download | op-kernel-dev-6ea437a3639b15e312f81819bb20f737ff596194.zip op-kernel-dev-6ea437a3639b15e312f81819bb20f737ff596194.tar.gz |
ocfs2: free meta_ac and data_ac when ocfs2_start_trans fails in ocfs2_xattr_set()
In ocfs2_xattr_set(), if ocfs2_start_trans failed, meta_ac and data_ac
should be free. Otherwise, It would lead to a memory leak.
Signed-off-by: Younger Liu <younger.liu@huawei.com>
Cc: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions