diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-04 18:31:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-04 18:31:02 -0400 |
commit | 3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4 (patch) | |
tree | 5adc1ff2eaf64d450bf28bb6b2ce890db2567288 /fs/ocfs2/dlm/dlmdebug.c | |
parent | 5cf65713f87775c548e3eb48dbafa32e12f28000 (diff) | |
parent | 0ea6e61122196509af82cc4f36cbdaacbefb8227 (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
Documentation: update broken web addresses.
fix comment typo "choosed" -> "chosen"
hostap:hostap_hw.c Fix typo in comment
Fix spelling contorller -> controller in comments
Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
fs/Kconfig: Fix typo Userpace -> Userspace
Removing dead MACH_U300_BS26
drivers/infiniband: Remove unnecessary casts of private_data
fs/ocfs2: Remove unnecessary casts of private_data
libfc: use ARRAY_SIZE
scsi: bfa: use ARRAY_SIZE
drm: i915: use ARRAY_SIZE
drm: drm_edid: use ARRAY_SIZE
synclink: use ARRAY_SIZE
block: cciss: use ARRAY_SIZE
comment typo fixes: charater => character
fix comment typos concerning "challenge"
arm: plat-spear: fix typo in kerneldoc
reiserfs: typo comment fix
update email address
...
Diffstat (limited to 'fs/ocfs2/dlm/dlmdebug.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmdebug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/dlm/dlmdebug.c b/fs/ocfs2/dlm/dlmdebug.c index 0cd24cf54396..5efdd37dfe48 100644 --- a/fs/ocfs2/dlm/dlmdebug.c +++ b/fs/ocfs2/dlm/dlmdebug.c | |||
@@ -419,7 +419,7 @@ static loff_t debug_buffer_llseek(struct file *file, loff_t off, int whence) | |||
419 | 419 | ||
420 | static int debug_buffer_release(struct inode *inode, struct file *file) | 420 | static int debug_buffer_release(struct inode *inode, struct file *file) |
421 | { | 421 | { |
422 | struct debug_buffer *db = (struct debug_buffer *)file->private_data; | 422 | struct debug_buffer *db = file->private_data; |
423 | 423 | ||
424 | if (db) | 424 | if (db) |
425 | kfree(db->buf); | 425 | kfree(db->buf); |
@@ -715,7 +715,7 @@ static int debug_lockres_open(struct inode *inode, struct file *file) | |||
715 | goto bail; | 715 | goto bail; |
716 | } | 716 | } |
717 | 717 | ||
718 | seq = (struct seq_file *) file->private_data; | 718 | seq = file->private_data; |
719 | seq->private = dl; | 719 | seq->private = dl; |
720 | 720 | ||
721 | dlm_grab(dlm); | 721 | dlm_grab(dlm); |
@@ -731,7 +731,7 @@ bail: | |||
731 | 731 | ||
732 | static int debug_lockres_release(struct inode *inode, struct file *file) | 732 | static int debug_lockres_release(struct inode *inode, struct file *file) |
733 | { | 733 | { |
734 | struct seq_file *seq = (struct seq_file *)file->private_data; | 734 | struct seq_file *seq = file->private_data; |
735 | struct debug_lockres *dl = (struct debug_lockres *)seq->private; | 735 | struct debug_lockres *dl = (struct debug_lockres *)seq->private; |
736 | 736 | ||
737 | if (dl->dl_res) | 737 | if (dl->dl_res) |