Home
last modified time | relevance | path

Searched hist:"0 abe1169470571c473ee720c35fe5b3481c46c46" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/ecryptfs/
H A Dfile.cdiff 0abe1169470571c473ee720c35fe5b3481c46c46 Wed Nov 03 11:11:34 CET 2010 Roberto Sassu <roberto.sassu@polito.it> ecryptfs: fixed testing of file descriptor flags

This patch replaces the check (lower_file->f_flags & O_RDONLY) with
((lower_file & O_ACCMODE) == O_RDONLY).

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>