Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP

Loading…

Rhel7 #8

Merged
merged 4 commits into from

1 participant

@garlick
Owner

No description provided.

garlick added some commits
@garlick garlick diodmount: fix unitialized variable 80579d3
@garlick garlick test: adjust user/t17 to account for file ordering
The underlying test file may change the order that attributes
are returned so avoid depending on that.
679ea7e
@garlick garlick build: disable building with tcmalloc and munge c4a1b58
@garlick garlick build: disable pedantic warn flags in fsstress
Not our code, no need to be extra warny here.
6ef30f2
@garlick garlick merged commit 305b742 into chaos:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 17, 2015
  1. @garlick
  2. @garlick

    test: adjust user/t17 to account for file ordering

    garlick authored
    The underlying test file may change the order that attributes
    are returned so avoid depending on that.
  3. @garlick
  4. @garlick

    build: disable pedantic warn flags in fsstress

    garlick authored
    Not our code, no need to be extra warny here.
This page is out of date. Refresh to see the latest.
View
6 diod.spec.in
@@ -11,11 +11,11 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcp_wrappers-devel
BuildRequires: lua-devel
-BuildRequires: munge-devel
+#BuildRequires: munge-devel
BuildRequires: ncurses-devel
BuildRequires: libcap-devel
#BuildRequires: libibverbs-devel librdmacm-devel
-BuildRequires: gperftools-devel
+#BuildRequires: gperftools-devel
BuildRequires: libattr-devel attr
%description
@@ -26,7 +26,7 @@ system for I/O forwarding on Linux clusters.
%setup -q
%build
-%configure --with-tcmalloc
+%configure
make CFLAGS="-Werror -O2 -g"
%check
View
2  tests/kern/fsstress/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS = @GCCWARN@
+AM_CFLAGS = -w
AM_CPPFLAGS = -DNO_XFS -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
View
1  tests/user/t17
@@ -5,7 +5,6 @@ touch $PATH_EXPDIR/testfile
./tsetxattr "$@" testfile user.foo fooval
./tsetxattr "$@" testfile user.bar barval
./tsetxattr "$@" testfile user.baz bazval
-./tgetxattr "$@" testfile
./tgetxattr "$@" testfile user.foo user.bar user.baz
./tremovexattr "$@" testfile user.foo
./tremovexattr "$@" testfile user.bar
View
3  tests/user/t17.exp
@@ -1,7 +1,4 @@
creating file with three xattrs set
-tgetxattr: user.foo
-tgetxattr: user.bar
-tgetxattr: user.baz
tgetxattr: user.foo="fooval"
tgetxattr: user.bar="barval"
tgetxattr: user.baz="bazval"
View
4 utils/diodmount.c
@@ -740,7 +740,7 @@ static void
_nbd_detach (Opt o, int argc, char **argv, int nopt, int vopt)
{
char *dev;
- int fd;
+ int fd = -1;
if (argc != 1)
usage();
@@ -754,7 +754,7 @@ _nbd_detach (Opt o, int argc, char **argv, int nopt, int vopt)
msg ("stop");
if (!nopt && ioctl (fd, NBD_STOP) < 0)
err_exit ("ioctl stop");
- if (!nopt)
+ if (fd != -1)
close (fd);
}
Something went wrong with that request. Please try again.