Hi ! This patch fix directory remove issue on NFS. On NFS unlinking AND closing all files in a directory is mandaroty before unlinking this directory.
R. -- Renaud Lottiaux Kerlabs Bâtiment Germanium 80, avenue des buttes de Coësmes 35700 Rennes - France Phone : (+33|0)6 80 89 19 34 Fax : (+33|0)2 99 84 71 71 Email : [EMAIL PROTECTED] Web : http://www.kerlabs.com/
Index: cvs/testcases/kernel/syscalls/fchownat/fchownat01.c =================================================================== --- cvs.orig/testcases/kernel/syscalls/fchownat/fchownat01.c 2008-03-13 11:25:26.000000000 +0100 +++ cvs/testcases/kernel/syscalls/fchownat/fchownat01.c 2008-03-13 11:32:57.000000000 +0100 @@ -233,9 +233,12 @@ /* Remove them */ char tmppathname[256]; strcpy(tmppathname, pathname); + + close (fd); unlink(strcat(strcat(tmppathname, "/"), testfile)); unlink(testfile); unlink(testfile2); + unlink(testfile3); rmdir(pathname); /*
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
