зеркало из https://github.com/mozilla/gecko-dev.git
Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL
r=bsmedberg --HG-- extra : rebase_source : aad0b56b3e3adb11a591bcb3f94ebaf3067dca47
This commit is contained in:
Родитель
9d91dd650f
Коммит
d43891bc95
|
@ -1176,6 +1176,7 @@ nsLocalFile::GetFileSizeOfLink(PRInt64 *aFileSize)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
#if defined(USE_LINUX_QUOTACTL)
|
||||
/*
|
||||
* Searches /proc/self/mountinfo for given device (Major:Minor),
|
||||
* returns exported name from /dev
|
||||
|
@ -1225,6 +1226,7 @@ GetDeviceName(int deviceMajor, int deviceMinor, nsACString &deviceName)
|
|||
fclose(f);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsLocalFile::GetDiskSpaceAvailable(PRInt64 *aDiskSpaceAvailable)
|
||||
|
|
Загрузка…
Ссылка в новой задаче