Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL
r=bsmedberg
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user