projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git]
/
fs
/
sysv
/
dir.c
diff --git
a/fs/sysv/dir.c
b/fs/sysv/dir.c
index d42291d08215abd016d4e3b5aac03fa753ce70b6..8f3555f00c54276aa1f0e1d443b7dd375850bf23 100644
(file)
--- a/
fs/sysv/dir.c
+++ b/
fs/sysv/dir.c
@@
-132,7
+132,7
@@
struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct page **res_
{
const char * name = dentry->d_name.name;
int namelen = dentry->d_name.len;
{
const char * name = dentry->d_name.name;
int namelen = dentry->d_name.len;
- struct inode * dir = d
entry->d_parent->d_inode
;
+ struct inode * dir = d
_inode(dentry->d_parent)
;
unsigned long start, n;
unsigned long npages = dir_pages(dir);
struct page *page = NULL;
unsigned long start, n;
unsigned long npages = dir_pages(dir);
struct page *page = NULL;
@@
-176,7
+176,7
@@
found:
int sysv_add_link(struct dentry *dentry, struct inode *inode)
{
int sysv_add_link(struct dentry *dentry, struct inode *inode)
{
- struct inode *dir = d
entry->d_parent->d_inode
;
+ struct inode *dir = d
_inode(dentry->d_parent)
;
const char * name = dentry->d_name.name;
int namelen = dentry->d_name.len;
struct page *page = NULL;
const char * name = dentry->d_name.name;
int namelen = dentry->d_name.len;
struct page *page = NULL;
This page took
0.045556 seconds
and
5
git commands to generate.