Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Aufs5 Standalone
Commits
fa038fa4
Commit
fa038fa4
authored
Apr 07, 2021
by
J. R. Okajima
Browse files
aufs: minor, comment about f_op->splice_{read,write}
Signed-off-by:
J. R. Okajima
<
hooanon05g@gmail.com
>
parent
e85589ba
Changes
1
Show whitespace changes
Inline
Side-by-side
fs/aufs/f_op.c
View file @
fa038fa4
...
...
@@ -401,6 +401,15 @@ out:
return
err
;
}
/*
* We may be able to remove aufs_splice_{read,write}() since almost all FSes
* don't have their own .splice_{read,write} implimentations, and they use
* generic_file_splice_read() and iter_file_splice_write() who can act like the
* simple converters to f_op->iter_read() and ->iter_write().
* But we keep our own implementations because some non-mainlined FSes may have
* their own .splice_{read,write} implimentations and aufs doesn't want to take
* away an opportunity to co-work with aufs from them.
*/
static
ssize_t
aufs_splice_read
(
struct
file
*
file
,
loff_t
*
ppos
,
struct
pipe_inode_info
*
pipe
,
size_t
len
,
unsigned
int
flags
)
...
...
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