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
1e31c07b
Commit
1e31c07b
authored
Jan 09, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] When tracing extended attribute calls, only access the buffer when it exists.
SGI Modid: 2.5.x-xfs:slinx:160244a
parent
739d17f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr.c
+8
-4
No files found.
fs/xfs/xfs_attr.c
View file @
1e31c07b
...
...
@@ -2234,7 +2234,8 @@ xfs_attr_trace_l_c(char *where, struct xfs_attr_list_context *context)
(
__psunsigned_t
)
context
->
count
,
(
__psunsigned_t
)
context
->
firstu
,
(
__psunsigned_t
)
(
context
->
count
>
0
)
((
context
->
count
>
0
)
&&
!
(
context
->
flags
&
(
ATTR_KERNAMELS
|
ATTR_KERNOVAL
)))
?
(
ATTR_ENTRY
(
context
->
alist
,
context
->
count
-
1
)
->
a_valuelen
)
:
0
,
...
...
@@ -2262,7 +2263,8 @@ xfs_attr_trace_l_cn(char *where, struct xfs_attr_list_context *context,
(
__psunsigned_t
)
context
->
count
,
(
__psunsigned_t
)
context
->
firstu
,
(
__psunsigned_t
)
(
context
->
count
>
0
)
((
context
->
count
>
0
)
&&
!
(
context
->
flags
&
(
ATTR_KERNAMELS
|
ATTR_KERNOVAL
)))
?
(
ATTR_ENTRY
(
context
->
alist
,
context
->
count
-
1
)
->
a_valuelen
)
:
0
,
...
...
@@ -2290,7 +2292,8 @@ xfs_attr_trace_l_cb(char *where, struct xfs_attr_list_context *context,
(
__psunsigned_t
)
context
->
count
,
(
__psunsigned_t
)
context
->
firstu
,
(
__psunsigned_t
)
(
context
->
count
>
0
)
((
context
->
count
>
0
)
&&
!
(
context
->
flags
&
(
ATTR_KERNAMELS
|
ATTR_KERNOVAL
)))
?
(
ATTR_ENTRY
(
context
->
alist
,
context
->
count
-
1
)
->
a_valuelen
)
:
0
,
...
...
@@ -2318,7 +2321,8 @@ xfs_attr_trace_l_cl(char *where, struct xfs_attr_list_context *context,
(
__psunsigned_t
)
context
->
count
,
(
__psunsigned_t
)
context
->
firstu
,
(
__psunsigned_t
)
(
context
->
count
>
0
)
((
context
->
count
>
0
)
&&
!
(
context
->
flags
&
(
ATTR_KERNAMELS
|
ATTR_KERNOVAL
)))
?
(
ATTR_ENTRY
(
context
->
alist
,
context
->
count
-
1
)
->
a_valuelen
)
:
0
,
...
...
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