projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8605f
)
ceph: cleanup: remove unused assignement
author
Dan Carpenter
<
[email protected]
>
Fri, 7 May 2010 08:27:14 +0000
(10:27 +0200)
committer
Sage Weil
<
[email protected]
>
Mon, 17 May 2010 22:25:32 +0000
(15:25 -0700)
We don't ever use "dirty" so we can remove it.
Signed-off-by: Dan Carpenter <
[email protected]
>
Signed-off-by: Sage Weil <
[email protected]
>
fs/ceph/caps.c
patch
|
blob
|
history
diff --git
a/fs/ceph/caps.c
b/fs/ceph/caps.c
index 74c74842c860ed47f8c5ed2e134302be63b528a1..0e85d3c8079057290c13e22b7a0d5e7aa979c106 100644
(file)
--- a/
fs/ceph/caps.c
+++ b/
fs/ceph/caps.c
@@
-1718,10
+1718,9
@@
out_unlocked:
static int caps_are_flushed(struct inode *inode, unsigned tid)
{
struct ceph_inode_info *ci = ceph_inode(inode);
- int
dirty,
i, ret = 1;
+ int i, ret = 1;
spin_lock(&inode->i_lock);
- dirty = __ceph_caps_dirty(ci);
for (i = 0; i < CEPH_CAP_BITS; i++)
if ((ci->i_flushing_caps & (1 << i)) &&
ci->i_cap_flush_tid[i] <= tid) {