28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
Description: usr/src/uts/common/fs/fd/fdops.c
|
|
253 while (uiop->uio_resid > 0) {
|
|
254 if ((off = uiop->uio_offset) == 0) { /* "." */
|
|
255 dirent->d_ino = (ino64_t)FDROOTINO;
|
|
256 dirent->d_name[0] = '.';
|
|
257 dirent->d_name[1] = '\0';
|
|
258 reclen = DIRENT64_RECLEN(1);
|
|
259 } else if (off == FDSDSIZE) { /* ".." */
|
|
260 dirent->d_ino = (ino64_t)FDROOTINO;
|
|
261 dirent->d_name[0] = '.';
|
|
262 dirent->d_name[1] = '.';
|
|
263 dirent->d_name[2] = '\0';
|
|
264 reclen = DIRENT64_RECLEN(2);
|
|
|
|
Index: b/usr/src/uts/intel/fdfs/Makefile
|
|
===================================================================
|
|
--- a/usr/src/uts/intel/fdfs/Makefile 2014-03-01 22:52:10.826047799 +0400
|
|
+++ b/usr/src/uts/intel/fdfs/Makefile 2014-03-01 22:55:04.281633248 +0400
|
|
@@ -58,6 +58,8 @@
|
|
LINT_TARGET = $(MODULE).lint
|
|
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
|
|
|
|
+CERRWARN += -_gcc=-Wno-array-bounds
|
|
+
|
|
#
|
|
# Default build targets.
|
|
#
|