Bug 615486 GetDeviceName is defined but not used ifndef USE_LINUX_QUOTACTL

r=bsmedberg
This commit is contained in:
2010-12-04 11:07:31 +01:00
parent d2ada64e7c
commit b65a48fa38

View File

@@ -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)