From: Jeff Layton Date: Mon, 3 Dec 2012 11:05:31 +0000 (-0500) Subject: cifs: fix hardcoded default security descriptor length X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~54^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ee0b4c635c091eb3c805977ba886bae2fd33f0c;p=pandora-kernel.git cifs: fix hardcoded default security descriptor length It was hardcoded to 192 bytes, which was not enough when the max number of subauthorities went to 15. Redefine this constant in terms of sizeof the structs involved, and rename it for better clarity. While we're at it, remove a couple more unused constants from cifsacl.h. Reviewed-by: Shirish Pargaonkar Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed