mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[IA64] Low byte of current->personality is not a bitmask.
Peter Staubach pointed out that it is not correct to check current->personality & PER_LINUX32 (this will have false hits on several other personality values). Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
288ceb8f14
commit
ff67b59726
1 changed files with 2 additions and 1 deletions
|
@ -81,6 +81,7 @@ struct flock {
|
|||
|
||||
#define F_LINUX_SPECIFIC_BASE 1024
|
||||
|
||||
#define force_o_largefile() ( ! (current->personality & PER_LINUX32) )
|
||||
#define force_o_largefile() \
|
||||
(personality(current->personality) != PER_LINUX32)
|
||||
|
||||
#endif /* _ASM_IA64_FCNTL_H */
|
||||
|
|
Loading…
Reference in a new issue