diff options
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_linux.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 52b240539531..44fed10af0dd 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h | |||
@@ -217,19 +217,7 @@ static inline void set_buffer_unwritten_io(struct buffer_head *bh) | |||
217 | #define Q_XSETPQLIM XQM_CMD(10) /* set projects disk limits */ | 217 | #define Q_XSETPQLIM XQM_CMD(10) /* set projects disk limits */ |
218 | #define Q_XGETPQUOTA XQM_CMD(11) /* get projects disk limits */ | 218 | #define Q_XGETPQUOTA XQM_CMD(11) /* get projects disk limits */ |
219 | 219 | ||
220 | /* IRIX uses a dynamic sizing algorithm (ndquot = 200 + numprocs*2) */ | 220 | #define dfltprid 0 |
221 | /* we may well need to fine-tune this if it ever becomes an issue. */ | ||
222 | #define DQUOT_MAX_HEURISTIC 1024 /* NR_DQUOTS */ | ||
223 | #define ndquot DQUOT_MAX_HEURISTIC | ||
224 | |||
225 | /* IRIX uses the current size of the name cache to guess a good value */ | ||
226 | /* - this isn't the same but is a good enough starting point for now. */ | ||
227 | #define DQUOT_HASH_HEURISTIC files_stat.nr_files | ||
228 | |||
229 | /* IRIX inodes maintain the project ID also, zero this field on Linux */ | ||
230 | #define DEFAULT_PROJID 0 | ||
231 | #define dfltprid DEFAULT_PROJID | ||
232 | |||
233 | #define MAXPATHLEN 1024 | 221 | #define MAXPATHLEN 1024 |
234 | 222 | ||
235 | #define MIN(a,b) (min(a,b)) | 223 | #define MIN(a,b) (min(a,b)) |