projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/plane: Remove redundant extern
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ncpfs
/
inode.c
diff --git
a/fs/ncpfs/inode.c
b/fs/ncpfs/inode.c
index 01a9e16e97825eb67a7c761c6b7cc969bd8077d0..9605a2f635490ddf498c72049d7b40d84e7f977b 100644
(file)
--- a/
fs/ncpfs/inode.c
+++ b/
fs/ncpfs/inode.c
@@
-812,7
+812,7
@@
static int ncp_statfs(struct dentry *dentry, struct kstatfs *buf)
if (!d) {
goto dflt;
}
if (!d) {
goto dflt;
}
- i = d
->d_inode
;
+ i = d
_inode(d)
;
if (!i) {
goto dflt;
}
if (!i) {
goto dflt;
}
@@
-865,7
+865,7
@@
dflt:;
int ncp_notify_change(struct dentry *dentry, struct iattr *attr)
{
int ncp_notify_change(struct dentry *dentry, struct iattr *attr)
{
- struct inode *inode = d
entry->d_inode
;
+ struct inode *inode = d
_inode(dentry)
;
int result = 0;
__le32 info_mask;
struct nw_modify_dos_info info;
int result = 0;
__le32 info_mask;
struct nw_modify_dos_info info;
@@
-878,7
+878,7
@@
int ncp_notify_change(struct dentry *dentry, struct iattr *attr)
goto out;
result = -EPERM;
goto out;
result = -EPERM;
- if (IS_DEADDIR(d
entry->d_inode
))
+ if (IS_DEADDIR(d
_inode(dentry)
))
goto out;
/* ageing the dentry to force validation */
goto out;
/* ageing the dentry to force validation */