Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
50b885b9
Commit
50b885b9
authored
Dec 01, 2009
by
Sage Weil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceph: whitespace cleanup
Signed-off-by:
Sage Weil
<
sage@newdream.net
>
parent
34b43a56
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
fs/ceph/caps.c
fs/ceph/caps.c
+1
-1
fs/ceph/ceph_hash.c
fs/ceph/ceph_hash.c
+4
-4
fs/ceph/crush/mapper.c
fs/ceph/crush/mapper.c
+1
-1
fs/ceph/mon_client.c
fs/ceph/mon_client.c
+1
-1
fs/ceph/osd_client.c
fs/ceph/osd_client.c
+2
-2
No files found.
fs/ceph/caps.c
View file @
50b885b9
...
...
@@ -1316,7 +1316,7 @@ static int __mark_caps_flushing(struct inode *inode,
struct
ceph_mds_client
*
mdsc
=
&
ceph_client
(
inode
->
i_sb
)
->
mdsc
;
struct
ceph_inode_info
*
ci
=
ceph_inode
(
inode
);
int
flushing
;
BUG_ON
(
ci
->
i_dirty_caps
==
0
);
BUG_ON
(
list_empty
(
&
ci
->
i_dirty_item
));
...
...
fs/ceph/ceph_hash.c
View file @
50b885b9
...
...
@@ -82,14 +82,14 @@ unsigned ceph_str_hash_rjenkins(const char *str, unsigned length)
*/
unsigned
ceph_str_hash_linux
(
const
char
*
str
,
unsigned
length
)
{
unsigned
long
hash
=
0
;
unsigned
long
hash
=
0
;
unsigned
char
c
;
while
(
length
--
)
{
while
(
length
--
)
{
c
=
*
str
++
;
hash
=
(
hash
+
(
c
<<
4
)
+
(
c
>>
4
))
*
11
;
}
return
hash
;
return
hash
;
}
...
...
@@ -105,7 +105,7 @@ unsigned ceph_str_hash(int type, const char *s, unsigned len)
}
}
const
char
*
ceph_str_hash_name
(
int
type
)
const
char
*
ceph_str_hash_name
(
int
type
)
{
switch
(
type
)
{
case
CEPH_STR_HASH_LINUX
:
...
...
fs/ceph/crush/mapper.c
View file @
50b885b9
...
...
@@ -254,7 +254,7 @@ static int crush_bucket_choose(struct crush_bucket *in, int x, int r)
x
,
r
);
default:
BUG_ON
(
1
);
return
in
->
items
[
0
];
return
in
->
items
[
0
];
}
}
...
...
fs/ceph/mon_client.c
View file @
50b885b9
...
...
@@ -279,7 +279,7 @@ void ceph_monc_request_next_osdmap(struct ceph_mon_client *monc)
}
/*
*
*
*/
int
ceph_monc_open_session
(
struct
ceph_mon_client
*
monc
)
{
...
...
fs/ceph/osd_client.c
View file @
50b885b9
...
...
@@ -1308,8 +1308,8 @@ static void put_osd_con(struct ceph_connection *con)
* authentication
*/
static
int
get_authorizer
(
struct
ceph_connection
*
con
,
void
**
buf
,
int
*
len
,
int
*
proto
,
void
**
reply_buf
,
int
*
reply_len
,
int
force_new
)
void
**
buf
,
int
*
len
,
int
*
proto
,
void
**
reply_buf
,
int
*
reply_len
,
int
force_new
)
{
struct
ceph_osd
*
o
=
con
->
private
;
struct
ceph_osd_client
*
osdc
=
o
->
o_osdc
;
...
...
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