diff options
author | NeilBrown <neilb@suse.de> | 2009-12-30 13:46:52 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-12-30 13:46:52 +1100 |
commit | 8409bc51e828bdf748138882e89229d6f6080b7c (patch) | |
tree | ac4cc8b3b7982a06db6f3ea9005f3c300b1abf8b /mdadm.h | |
parent | c1e3ab8c1e76f4ae71ab23bcf5e8c2bf8bd3774e (diff) | |
parent | dd9bb2fbed335f69225ea1a3514bd27422288a18 (diff) | |
download | mdadm-8409bc51e828bdf748138882e89229d6f6080b7c.tar.gz mdadm-8409bc51e828bdf748138882e89229d6f6080b7c.tar.xz mdadm-8409bc51e828bdf748138882e89229d6f6080b7c.zip |
Merge branch 'klockwork' of git://github.com/djbw/mdadm
Conflicts:
super-intel.c
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1023,3 +1023,10 @@ static inline int xasprintf(char **strp, const char *fmt, ...) { #define ALGORITHM_PARITY_0_6 20 #define ALGORITHM_PARITY_N_6 ALGORITHM_PARITY_N +/* Define PATH_MAX in case we don't use glibc or standard library does + * not have PATH_MAX defined. Assume max path length is 4K characters. + */ +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + |