From: Al Viro Date: Wed, 23 Feb 2011 18:39:45 +0000 (-0500) Subject: Collect "operation mode" arguments of do_last() into a structure X-Git-Tag: v2.6.39-rc1~514^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e380b0b3cfa613189fb91513efd88a65e1d9d8;p=pandora-kernel.git Collect "operation mode" arguments of do_last() into a structure No point messing with passing shitloads of "operation mode" arguments to do_open() one by one, especially since they are not going to change during do_filp_open(). Collect them into a struct, fill it and pass to do_last() by reference. Make sure that lookup intent flags are correctly set and removed - we want them for do_last(), but they make no sense for __do_follow_link(). Signed-off-by: Al Viro --- Reading git-diff-tree failed