vfs_gpfs masks out the flag ACE_FLAG_INHERITED_ACE supported by gpfs
Created attachment 6503 [details] patchset for v3-6-test
Comment on attachment 6503 [details] patchset for v3-6-test I *hate* this patch (sorry :-). I'm changing it for master and will add an updated version for 3.6.0. Directly manipulating bits in the ACE mask using a mix of SEC_ACE_XXX and SMB_ACE4_XXX flags is a recipe for disaster later on. I'm factoring this out to 2 functions which make the bit manipulations clearer. Jeremy.
Comment on attachment 6503 [details] patchset for v3-6-test ACK
Sorry nack on this patch as-is. Please wait for my 3.6.0 update. Jeremy.
Comment on attachment 6503 [details] patchset for v3-6-test sorry, jeremy, I missed your comment
(In reply to comment #2) > Comment on attachment 6503 [details] > patchset for v3-6-test > > I *hate* this patch (sorry :-). I'm changing it for master and will add an > updated version for 3.6.0. > > Directly manipulating bits in the ACE mask using a mix of SEC_ACE_XXX and > SMB_ACE4_XXX flags is a recipe for disaster later on. I don't really understand your objection here: There is no mix of SEC_ACE and SMB_ACE4 flags used directly. It is just a mapping from SEC_ACE to SMB_ACE4 and vice versa. I do agree that for the sake of clarity, it might be useful to create mapping functions for these two directions. Cheers - Michael > I'm factoring this out to 2 functions which make the bit manipulations clearer.
Summing up an irc discussion: * Gregor's patches are ok, but the original mapping code is hacky, since it simpy assigns SMB_ACE4 flags to SEC_ACE flags (and vice versa), which works by coincidence since the old supported flags were 1:1 bit-wise. * Jeremy is working on an add-on patch that will provide proper mapping functions for the ace flag bits. This patch will be added as a second part of the bugfix. Cheers - Michael
Comment on attachment 6503 [details] patchset for v3-6-test re-ACKing this first patch after our discussion. Adding Jeremy as second reviewer. And waiting for Jeremy's add-on patch.
the review flags confuse me
Waiting for autobuild....
Created attachment 6507 [details] Jeremy's add-on patch This is Jeremy's add-on patch that has landed in master. I would like to have this in 3.6 as well, since it greatly improves the code.
Jeremy, could you review (and ACK) both patches, and hand the bug over to Karolin? Thanks!
Comment on attachment 6507 [details] Jeremy's add-on patch Requesting review from jeremy for inclusion into 3.6.0 btw. this patch applies on top of the first patchset.
Re-assigning to Karolin to add both to 3.6.0. Jeremy.
Pushed to v3-6-test. Closing out bug report. Thanks!