Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 575
b: refs/heads/master
c: 11aa014
h: refs/heads/master
i:
  573: 7ce6d88
  571: fb10a84
  567: 54b7c61
  559: 6a0f149
  543: 19d2887
  511: a4ccb14
v: v3
  • Loading branch information
Steve French authored and Linus Torvalds committed Apr 29, 2005
1 parent 1aec0ec commit 04f7d65
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd63499cbe37e53e6cc084c8a35d911a4613c797
refs/heads/master: 11aa0149d0e49ee1791735ec4ae3079b27b9a68e
4 changes: 4 additions & 0 deletions trunk/fs/cifs/CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.34
------------
Fix error mapping of the TOO_MANY_LINKS (hardlinks) case.

Version 1.33
------------
Fix caching problem, in which readdir of directory containing a file
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifsfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ extern ssize_t cifs_getxattr(struct dentry *, const char *, void *, size_t);
extern ssize_t cifs_listxattr(struct dentry *, char *, size_t);
extern int cifs_ioctl (struct inode * inode, struct file * filep,
unsigned int command, unsigned long arg);
#define CIFS_VERSION "1.33"
#define CIFS_VERSION "1.34"
#endif /* _CIFSFS_H */
3 changes: 2 additions & 1 deletion trunk/fs/cifs/netmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ static const struct smb_to_posix_error mapping_table_ERRDOS[] = {
{ErrQuota, -EDQUOT},
{ErrNotALink, -ENOLINK},
{ERRnetlogonNotStarted,-ENOPROTOOPT},
{ErrTooManyLinks,-EMLINK},
{0, 0}
};

Expand Down Expand Up @@ -742,7 +743,7 @@ static const struct {
ERRDOS, 182, NT_STATUS_DRIVER_ORDINAL_NOT_FOUND}, {
ERRDOS, 127, NT_STATUS_DRIVER_ENTRYPOINT_NOT_FOUND}, {
ERRDOS, 288, NT_STATUS_RESOURCE_NOT_OWNED}, {
ERRHRD, ERRgeneral, NT_STATUS_TOO_MANY_LINKS}, {
ERRDOS, ErrTooManyLinks, NT_STATUS_TOO_MANY_LINKS}, {
ERRHRD, ERRgeneral, NT_STATUS_QUOTA_LIST_INCONSISTENT}, {
ERRHRD, ERRgeneral, NT_STATUS_FILE_IS_OFFLINE}, {
ERRDOS, 21, 0xc000026e}, {
Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/cifs/smberr.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
#define ErrNotALink 0x201 /* A link operation was performed on a
pathname that was not a link. */

/* Below errors are used internally (do not come over the wire) for passthrough
from STATUS codes to POSIX only */
#define ErrTooManyLinks 0xFFFE

/* Following error codes may be generated with the ERRSRV error class.*/

#define ERRerror 1 /* Non-specific error code. It is
Expand Down

0 comments on commit 04f7d65

Please sign in to comment.