mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1167535 - Fix fanotify 4g size limit. r=fabrice
This commit is contained in:
parent
ff9f1eba0d
commit
7734aa7bd1
@ -177,7 +177,7 @@ GonkDiskSpaceWatcher::DoStart()
|
||||
NS_ASSERTION(XRE_GetIOMessageLoop() == MessageLoopForIO::current(),
|
||||
"Not on the correct message loop");
|
||||
|
||||
mFd = fanotify_init(FAN_CLASS_NOTIF, FAN_CLOEXEC);
|
||||
mFd = fanotify_init(FAN_CLASS_NOTIF, FAN_CLOEXEC | O_LARGEFILE);
|
||||
if (mFd == -1) {
|
||||
if (errno == ENOSYS) {
|
||||
NS_WARNING("Warning: No fanotify support in this device's kernel.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user