Fix white spaces.
This commit is contained in:
parent
ead063e0a2
commit
2d427c524d
@ -270,24 +270,24 @@ void
|
|||||||
fuse_vnode_open(struct vnode *vp, int32_t fuse_open_flags, struct thread *td)
|
fuse_vnode_open(struct vnode *vp, int32_t fuse_open_flags, struct thread *td)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Funcation is called for every vnode open.
|
* Funcation is called for every vnode open.
|
||||||
* Merge fuse_open_flags it may be 0
|
* Merge fuse_open_flags it may be 0
|
||||||
*
|
*
|
||||||
* XXXIP: Handle FOPEN_KEEP_CACHE
|
* XXXIP: Handle FOPEN_KEEP_CACHE
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* Ideally speaking, direct io should be enabled on
|
* Ideally speaking, direct io should be enabled on
|
||||||
* fd's but do not see of any way of providing that
|
* fd's but do not see of any way of providing that
|
||||||
* this implementation.
|
* this implementation.
|
||||||
|
*
|
||||||
* Also cannot think of a reason why would two
|
* Also cannot think of a reason why would two
|
||||||
* different fd's on same vnode would like
|
* different fd's on same vnode would like
|
||||||
* have DIRECT_IO turned on and off. But linux
|
* have DIRECT_IO turned on and off. But linux
|
||||||
* based implementation works on an fd not an
|
* based implementation works on an fd not an
|
||||||
* inode and provides such a feature.
|
* inode and provides such a feature.
|
||||||
*
|
*
|
||||||
* XXXIP: Handle fd based DIRECT_IO
|
* XXXIP: Handle fd based DIRECT_IO
|
||||||
*/
|
*/
|
||||||
if (fuse_open_flags & FOPEN_DIRECT_IO) {
|
if (fuse_open_flags & FOPEN_DIRECT_IO) {
|
||||||
VTOFUD(vp)->flag |= FN_DIRECTIO;
|
VTOFUD(vp)->flag |= FN_DIRECTIO;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user