diff options
author | Erez Zadok <ezk@cs.sunysb.edu> | 2009-12-06 18:51:15 -0500 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-01-19 22:36:02 -0600 |
commit | 3469b57329f80db5a41cf42d1c8f7690269f57e7 (patch) | |
tree | 1672f23b8742dd5426cd3448ab2592342e99e091 /fs/fcntl.c | |
parent | c44a66d674688f1e1d0b2f6f56bd9c6a1b061cae (diff) |
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 <ezk@cs.sunysb.edu>
Cc: Dustin Kirkland <kirkland@canonical.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions