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
Kirill Smelkov
linux
Commits
6c69494f
Commit
6c69494f
authored
Sep 12, 2011
by
Joern Engel
Committed by
Prasad Joshi
Jan 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logfs: remove useless BUG_ON
It prevents write sizes >4k. Signed-off-by:
Joern Engel
<
joern@logfs.org
>
parent
756ccb3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
fs/logfs/journal.c
fs/logfs/journal.c
+0
-1
No files found.
fs/logfs/journal.c
View file @
6c69494f
...
...
@@ -612,7 +612,6 @@ static size_t __logfs_write_je(struct super_block *sb, void *buf, u16 type,
if
(
len
==
0
)
return
logfs_write_header
(
super
,
header
,
0
,
type
);
BUG_ON
(
len
>
sb
->
s_blocksize
);
compr_len
=
logfs_compress
(
buf
,
data
,
len
,
sb
->
s_blocksize
);
if
(
compr_len
<
0
||
type
==
JE_ANCHOR
)
{
memcpy
(
data
,
buf
,
len
);
...
...
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