diff options
author | Steve French <sfrench@us.ibm.com> | 2007-07-11 14:30:34 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-07-11 14:30:34 -0400 |
commit | 7521a3c566dda7bb09576975324fc0a08a79ad14 (patch) | |
tree | 2ba0405ea1a7f3f187c2434ef86000b1b65f2d01 /fs/cifs/README | |
parent | fb8c4b14d9259ba467241a7aaeb712caedce7ee8 (diff) |
[CIFS] Fix oops in cifs_create when nfsd server exports cifs mount
nfsd is passing null nameidata (probably the only one doing that)
on call to create - cifs was missing one check for this.
Note that running nfsd over a cifs mount requires specifying fsid on
the nfs exports entry and requires mounting cifs with serverino mount
option.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/README')
-rw-r--r-- | fs/cifs/README | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/fs/cifs/README b/fs/cifs/README index eb3efd5a6a81..85f1eb14083e 100644 --- a/fs/cifs/README +++ b/fs/cifs/README | |||
@@ -370,7 +370,7 @@ A partial list of the supported mount options follows: | |||
370 | Note that this does not affect the normal ACL check on the | 370 | Note that this does not affect the normal ACL check on the |
371 | target machine done by the server software (of the server | 371 | target machine done by the server software (of the server |
372 | ACL against the user name provided at mount time). | 372 | ACL against the user name provided at mount time). |
373 | serverino Use servers inode numbers instead of generating automatically | 373 | serverino Use server's inode numbers instead of generating automatically |
374 | incrementing inode numbers on the client. Although this will | 374 | incrementing inode numbers on the client. Although this will |
375 | make it easier to spot hardlinked files (as they will have | 375 | make it easier to spot hardlinked files (as they will have |
376 | the same inode numbers) and inode numbers may be persistent, | 376 | the same inode numbers) and inode numbers may be persistent, |
@@ -378,12 +378,11 @@ A partial list of the supported mount options follows: | |||
378 | are unique if multiple server side mounts are exported under a | 378 | are unique if multiple server side mounts are exported under a |
379 | single share (since inode numbers on the servers might not | 379 | single share (since inode numbers on the servers might not |
380 | be unique if multiple filesystems are mounted under the same | 380 | be unique if multiple filesystems are mounted under the same |
381 | shared higher level directory). Note that this requires that | 381 | shared higher level directory). Note that some older |
382 | the server support the CIFS Unix Extensions as other servers | 382 | (e.g. pre-Windows 2000) do not support returning UniqueIDs |
383 | do not return a unique IndexNumber on SMB FindFirst (most | 383 | or the CIFS Unix Extensions equivalent and for those |
384 | servers return zero as the IndexNumber). Parameter has no | 384 | this mount option will have no effect. Exporting cifs mounts |
385 | effect to Windows servers and others which do not support the | 385 | under nfsd requires this mount option on the cifs mount. |
386 | CIFS Unix Extensions. | ||
387 | noserverino Client generates inode numbers (rather than using the actual one | 386 | noserverino Client generates inode numbers (rather than using the actual one |
388 | from the server) by default. | 387 | from the server) by default. |
389 | setuids If the CIFS Unix extensions are negotiated with the server | 388 | setuids If the CIFS Unix extensions are negotiated with the server |