Blame nfs-ganesha-2.0.0-lustre-strict.patch
|
Jim Lieb |
2dc956f |
diff -up nfs-ganesha-2.0.0/src/FSAL/FSAL_LUSTRE/fsal_handle.h.lustre-strict nfs-ganesha-2.0.0/src/FSAL/FSAL_LUSTRE/fsal_handle.h
|
|
Jim Lieb |
2dc956f |
--- nfs-ganesha-2.0.0/src/FSAL/FSAL_LUSTRE/fsal_handle.h.lustre-strict 2013-12-10 16:01:48.823633927 -0800
|
|
Jim Lieb |
2dc956f |
+++ nfs-ganesha-2.0.0/src/FSAL/FSAL_LUSTRE/fsal_handle.h 2013-12-10 16:02:38.036661006 -0800
|
|
Jim Lieb |
2dc956f |
@@ -109,7 +109,7 @@ static inline int lustre_name_to_handle_
|
|
Jim Lieb |
2dc956f |
struct lustre_file_handle
|
|
Jim Lieb |
2dc956f |
*out_handle, int flags)
|
|
Jim Lieb |
2dc956f |
{
|
|
Jim Lieb |
2dc956f |
- char path[MAXPATHLEN];
|
|
Jim Lieb |
2dc956f |
+ char path[MAXPATHLEN + 2];
|
|
Jim Lieb |
2dc956f |
|
|
Jim Lieb |
2dc956f |
if (!mntpath || !at_handle || !name || !out_handle)
|
|
Jim Lieb |
2dc956f |
return -1;
|