From: Erez Zadok Date: Sun, 6 Dec 2009 23:51:15 +0000 (-0500) Subject: ecryptfs: pass matching flags to interpose as defined and used there X-Git-Tag: v2.6.33-rc5~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3469b57329f80db5a41cf42d1c8f7690269f57e7;p=pandora-kernel.git ecryptfs: pass matching flags to interpose as defined and used there ecryptfs_interpose checks if one of the flags passed is ECRYPTFS_INTERPOSE_FLAG_D_ADD, defined as 0x00000001 in ecryptfs_kernel.h. But the only user of ecryptfs_interpose to pass a non-zero flag to it, has hard-coded the value as "1". This could spell trouble if any of these values changes in the future. Signed-off-by: Erez Zadok Cc: Dustin Kirkland Cc: Al Viro Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed