]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2_iop_set/get_acl() are also called from the VFS so we must take inode lock
authorTariq Saeed <tariq.x.saeed@oracle.com>
Thu, 3 Sep 2015 04:55:40 +0000 (21:55 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 8 Sep 2015 18:05:57 +0000 (11:05 -0700)
commit41e2de9f10f4b04a8a604411164e4770037cea54
treef1f14139e57733459d86eb0588858b574aa7a15e
parentd74fdfbb9e0ca1466840875461f834a6590b1eb6
ocfs2_iop_set/get_acl() are also called from the VFS so we must take inode lock

ocfs2_iop_set/get_acl() are also called from the VFS so we must take inode lock

Orabug: 20189959

This bug in mainline code is pointed out by Mark Fasheh. When ocfs2_iop_set_acl
and ocfs2_iop_ge_acl are entered from VFS layer, inode lock is not held. This
seems to be regression from older kernels. The patch is to fix that.

Signed-off-by: Tariq Saeed <tariq.x.saeed@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
fs/ocfs2/acl.c