lkml.org 
[lkml]   [2001]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [NFS] New files on read only NFS mount
From
>>>>> " " == Chris Jensen <christopher.jensen@studentmail.newcastle.edu.au> writes:

>> Details please, the minimum info required being 'which kernel
>> is your client running'?
>>

> Oh yeah, whoops, sorry The server is a 586 and the client is
> 686. They're both using nfs-utils 0.2.1, under linux 2.4.0
> with NFS v3 enabled, with glibc 2.2.1 The pertinent line in
> /etc/exports is / 192.168.0.1(rw,no_root_squash)

How does the following patch work out?

Cheers,
Trond

--- fs/nfs/dir.c.orig Fri Feb 9 20:29:44 2001
+++ fs/nfs/dir.c Mon Mar 12 15:54:14 2001
@@ -1097,6 +1097,10 @@

if (!NFS_PROTO(inode)->access)
goto out;
+
+ if (error == -EROFS)
+ goto out;
+
/*
* Trust UNIX mode bits except:
*


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.039 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site