]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zpl_super.c
Extend PF_FSTRANS critical regions
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 23 Apr 2015 17:09:19 +0000 (10:09 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 24 Apr 2015 16:54:22 +0000 (09:54 -0700)
commita438ff0e85c36c2e31873b3a46d85e5e3593fab9
tree62b1df1bd9e58e265cff5d510b4d26f07982aa0f
parent614e598c88446df9a6e2b59ba8ad0919628935b8
Extend PF_FSTRANS critical regions

Additional testing has shown that the region covered by PF_FSTRANS
needs to be extended to cover the  zpl_xattr_security_init() and
init_acl() functions.  The zpl_mark_dirty() function can also recurse
and therefore must always be protected.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #3331
module/zfs/zpl_inode.c
module/zfs/zpl_super.c