projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
arch
/
sh
/
mm
/
alignment.c
diff --git
a/arch/sh/mm/alignment.c
b/arch/sh/mm/alignment.c
index 620fa7ff9eec88164bdbac180562974f31485912..aea14855e656dd629c2f8fc2ddce5dfeeae440c0 100644
(file)
--- a/
arch/sh/mm/alignment.c
+++ b/
arch/sh/mm/alignment.c
@@
-140,7
+140,7
@@
static int alignment_proc_open(struct inode *inode, struct file *file)
static ssize_t alignment_proc_write(struct file *file,
const char __user *buffer, size_t count, loff_t *pos)
{
- int *data = PDE(file
->f_path.dentry->d_inode
)->data;
+ int *data = PDE(file
_inode(file)
)->data;
char mode;
if (count > 0) {