Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
05a46cc8
Commit
05a46cc8
authored
Jun 13, 2004
by
Steve French
Committed by
Steve French
Jun 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix listxattr error path
Signed-off-by: Steve French (sfrench@us.ibm.com)
parent
c1f8b629
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
15 deletions
+22
-15
fs/cifs/CHANGES
fs/cifs/CHANGES
+4
-1
fs/cifs/README
fs/cifs/README
+7
-4
fs/cifs/cifs_debug.c
fs/cifs/cifs_debug.c
+5
-5
fs/cifs/cifspdu.h
fs/cifs/cifspdu.h
+5
-4
fs/cifs/xattr.c
fs/cifs/xattr.c
+1
-1
No files found.
fs/cifs/CHANGES
View file @
05a46cc8
Version 1.18
------------
Do not rename hardlinked files (since that should be a noop). Flush
cached write behind data when reopening a file after session abend.
cached write behind data when reopening a file after session abend,
except when already in write. Grab per socket sem during reconnect
to avoid oops in sendmsg if overlapping with reconnect.
Version 1.17
------------
...
...
fs/cifs/README
View file @
05a46cc8
...
...
@@ -97,7 +97,9 @@ Linux:
case sensitive = yes
delete readonly = yes
ea support = yes
Note that ea support is required for supporting Linux xattrs.
Some administrators also change the "map archive" and the "create mask"
parameters from their default values. Creating special devices (mknod) remotely
may require specifying a mkdev function to Samba. For more information on these
...
...
@@ -268,11 +270,12 @@ Misc /proc/fs/cifs Flags and Debug Info
=======================================
Informational pseudo-files:
DebugData Displays information about active CIFS sessions
as well as per share statistics (if CONFIG_CIFS_STATS
is enabled in the kernel configuration).
and shares.
SimultaneousOps Counter which holds maximum number of
simultaneous outstanding SMB/CIFS requests.
Stats Lists summary resource usage information
Stats Lists summary resource usage information as well as per
share statistics, if CONFIG_CIFS_STATS in enabled
in the kernel configuration.
Configuration pseudo-files:
MultiuserMount If set to one, more than one CIFS session to
...
...
fs/cifs/cifs_debug.c
View file @
05a46cc8
...
...
@@ -190,26 +190,26 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset,
struct
cifsTconInfo
*
tcon
;
length
=
sprintf
(
buf
,
"
Currently Allocated structures
\n
CIFS Sessions
: %d
\n
"
,
"
Resources in use
\n
CIFS Session
: %d
\n
"
,
sesInfoAllocCount
.
counter
);
buf
+=
length
;
item_length
=
sprintf
(
buf
,
"Share
s
(unique mount targets): %d
\n
"
,
sprintf
(
buf
,
"Share (unique mount targets): %d
\n
"
,
tconInfoAllocCount
.
counter
);
length
+=
item_length
;
buf
+=
item_length
;
item_length
=
sprintf
(
buf
,
"
Allocated SMB Request/Response Buffers
: %d
\n
"
,
sprintf
(
buf
,
"
SMB Request/Response Buffer
: %d
\n
"
,
bufAllocCount
.
counter
);
length
+=
item_length
;
buf
+=
item_length
;
item_length
=
sprintf
(
buf
,
"
Active Operations (MIDs in use
): %d
\n
"
,
sprintf
(
buf
,
"
Operations (MIDs
): %d
\n
"
,
midCount
.
counter
);
length
+=
item_length
;
buf
+=
item_length
;
item_length
=
sprintf
(
buf
,
"%d session %d share reconnects
\n
"
,
"
\n
%d session %d share reconnects
\n
"
,
tcpSesReconnectCount
.
counter
,
tconInfoReconnectCount
.
counter
);
length
+=
item_length
;
buf
+=
item_length
;
...
...
fs/cifs/cifspdu.h
View file @
05a46cc8
...
...
@@ -1690,16 +1690,17 @@ struct gealist {
};
struct
fea
{
unsigned
char
fEA
;
unsigned
char
cbName
;
unsigned
short
cbValue
;
unsigned
char
EA_flags
;
__u8
name_len
;
__u16
value_len
;
char
szName
[
1
];
/* optionally followed by value */
};
/* flags for _FEA.fEA */
#define FEA_NEEDEA 0x80
/* need EA bit */
struct
fealist
{
unsigned
long
cbList
;
unsigned
long
list_len
;
struct
fea
list
[
1
];
};
...
...
fs/cifs/xattr.c
View file @
05a46cc8
...
...
@@ -57,7 +57,7 @@ ssize_t cifs_listxattr(struct dentry * direntry, char * ea_data, size_t ea_size)
char
*
full_path
;
if
(
direntry
==
NULL
)
return
-
EIO
;
if
(
direntry
->
d_inode
)
if
(
direntry
->
d_inode
==
NULL
)
return
-
EIO
;
sb
=
direntry
->
d_inode
->
i_sb
;
if
(
sb
==
NULL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment