orangefs: react properly to posix_acl_update_mode's aftermath.
authorMike Marshall <hubcap@omnibond.com>
Thu, 10 Aug 2017 17:50:50 +0000 (13:50 -0400)
committerMike Marshall <hubcap@omnibond.com>
Thu, 14 Sep 2017 18:54:38 +0000 (14:54 -0400)
commit4bef69000d93799b6b3983c45c81b3cb2cceaa99
treeb2d1abbae5e2e0700ccfffed17fd956b6a380e08
parentb5accbb0dfae36d8d36cd882096943c98d5ede15
orangefs: react properly to posix_acl_update_mode's aftermath.

posix_acl_update_mode checks to see if the permissions
described by the ACL can be encoded into the
object's mode. If so, it sets "acl" to NULL
and "mode" to the new desired value. Prior to this patch
we failed to actually propagate the new mode back to the
server.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/acl.c