lkml.org 
[lkml]   [2012]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[REGRESSION] NFSv4: open(O_TRUNC) hangs
Date
Now this test program hangs on latest git.

Thanks,
Miklos
---
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

int main(int argc, char *argv[])
{
int res;
char *name = argv[1];
int fd;
unlink(name);
fd = creat(name, 0644);
write(fd, "123", 3);
close(fd);
close(open(name, O_RDONLY | O_TRUNC));
return 0;
}

\
 
 \ /
  Last update: 2012-04-03 18:29    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site