projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx4_core: Turn off device-managed FS bit in dev-cap wrapper if DMFS is not enabled
[cascardo/linux.git]
/
fs
/
omfs
/
dir.c
diff --git
a/fs/omfs/dir.c
b/fs/omfs/dir.c
index
fb5b3ff
..
acbaebc
100644
(file)
--- a/
fs/omfs/dir.c
+++ b/
fs/omfs/dir.c
@@
-330,7
+330,7
@@
int omfs_is_bad(struct omfs_sb_info *sbi, struct omfs_header *header,
static int omfs_fill_chain(struct file *filp, void *dirent, filldir_t filldir,
u64 fsblock, int hindex)
{
static int omfs_fill_chain(struct file *filp, void *dirent, filldir_t filldir,
u64 fsblock, int hindex)
{
- struct inode *dir = fil
p->f_dentry->d_inode
;
+ struct inode *dir = fil
e_inode(filp)
;
struct buffer_head *bh;
struct omfs_inode *oi;
u64 self;
struct buffer_head *bh;
struct omfs_inode *oi;
u64 self;
@@
-405,7
+405,7
@@
out:
static int omfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
static int omfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
- struct inode *dir = fil
p->f_dentry->d_inode
;
+ struct inode *dir = fil
e_inode(filp)
;
struct buffer_head *bh;
loff_t offset, res;
unsigned int hchain, hindex;
struct buffer_head *bh;
loff_t offset, res;
unsigned int hchain, hindex;