projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jbd: check for error returned by kthread_create on creating journal thread
[powerpc.git]
/
fs
/
efs
/
dir.c
diff --git
a/fs/efs/dir.c
b/fs/efs/dir.c
index
17f5b2d
..
dfb5cb4
100644
(file)
--- a/
fs/efs/dir.c
+++ b/
fs/efs/dir.c
@@
-15,12
+15,12
@@
const struct file_operations efs_dir_operations = {
.readdir = efs_readdir,
};
.readdir = efs_readdir,
};
-struct inode_operations efs_dir_inode_operations = {
+
const
struct inode_operations efs_dir_inode_operations = {
.lookup = efs_lookup,
};
static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) {
.lookup = efs_lookup,
};
static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) {
- struct inode *inode = filp->f_dentry->d_inode;
+ struct inode *inode = filp->f_
path.
dentry->d_inode;
struct buffer_head *bh;
struct efs_dir *dirblock;
struct buffer_head *bh;
struct efs_dir *dirblock;