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
1b387f80
Commit
1b387f80
authored
Mar 14, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Mar 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] nfsd-as-fs NULL ptr fix
It needs the following patch
parent
11aec25f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/nfsd/nfsctl.c
fs/nfsd/nfsctl.c
+1
-1
No files found.
fs/nfsd/nfsctl.c
View file @
1b387f80
...
...
@@ -223,9 +223,9 @@ static ssize_t write_getfs(struct file *file, const char *buf, size_t size)
if
(
data
.
gd_maxlen
>
NFS3_FHSIZE
)
data
.
gd_maxlen
=
NFS3_FHSIZE
;
res
=
kmalloc
(
sizeof
(
struct
knfsd_fh
),
GFP_KERNEL
);
memset
(
res
,
0
,
sizeof
(
struct
knfsd_fh
));
if
(
!
res
)
return
-
ENOMEM
;
memset
(
res
,
0
,
sizeof
(
struct
knfsd_fh
));
exp_readlock
();
if
(
!
(
clp
=
exp_getclient
(
sin
)))
err
=
-
EPERM
;
...
...
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