Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204444
b: refs/heads/master
c: 33fa1d9
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Jiri Kosina committed Jul 20, 2010
1 parent 95cfc65 commit a5f91b6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7156fffaaa15aeb0e0247736eff0a86f75f49f81
refs/heads/master: 33fa1d909c7357be715aa0e9f9e24c3ef5714493
6 changes: 3 additions & 3 deletions trunk/fs/ocfs2/dlm/dlmdebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ static loff_t debug_buffer_llseek(struct file *file, loff_t off, int whence)

static int debug_buffer_release(struct inode *inode, struct file *file)
{
struct debug_buffer *db = (struct debug_buffer *)file->private_data;
struct debug_buffer *db = file->private_data;

if (db)
kfree(db->buf);
Expand Down Expand Up @@ -715,7 +715,7 @@ static int debug_lockres_open(struct inode *inode, struct file *file)
goto bail;
}

seq = (struct seq_file *) file->private_data;
seq = file->private_data;
seq->private = dl;

dlm_grab(dlm);
Expand All @@ -731,7 +731,7 @@ static int debug_lockres_open(struct inode *inode, struct file *file)

static int debug_lockres_release(struct inode *inode, struct file *file)
{
struct seq_file *seq = (struct seq_file *)file->private_data;
struct seq_file *seq = file->private_data;
struct debug_lockres *dl = (struct debug_lockres *)seq->private;

if (dl->dl_res)
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/ocfs2/dlmfs/dlmfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ static int dlmfs_file_release(struct inode *inode,
{
int level, status;
struct dlmfs_inode_private *ip = DLMFS_I(inode);
struct dlmfs_filp_private *fp =
(struct dlmfs_filp_private *) file->private_data;
struct dlmfs_filp_private *fp = file->private_data;

if (S_ISDIR(inode->i_mode))
BUG();
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/ocfs2/dlmglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -2966,7 +2966,7 @@ static const struct seq_operations ocfs2_dlm_seq_ops = {

static int ocfs2_dlm_debug_release(struct inode *inode, struct file *file)
{
struct seq_file *seq = (struct seq_file *) file->private_data;
struct seq_file *seq = file->private_data;
struct ocfs2_dlm_seq_priv *priv = seq->private;
struct ocfs2_lock_res *res = &priv->p_iter_res;

Expand Down Expand Up @@ -3000,7 +3000,7 @@ static int ocfs2_dlm_debug_open(struct inode *inode, struct file *file)
goto out;
}

seq = (struct seq_file *) file->private_data;
seq = file->private_data;
seq->private = priv;

ocfs2_add_lockres_tracking(&priv->p_iter_res,
Expand Down

0 comments on commit a5f91b6

Please sign in to comment.