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
iwlwifi: mvm: Use the AP station for non_sta transmit
[firefly-linux-kernel-4.4.55.git]
/
fs
/
nsfs.c
diff --git
a/fs/nsfs.c
b/fs/nsfs.c
index af1b24fa899d0322fc8614960f9bfb13bcdd816e..99521e7c492b087d67bfdf2a6d2a929c23014988 100644
(file)
--- a/
fs/nsfs.c
+++ b/
fs/nsfs.c
@@
-13,7
+13,7
@@
static const struct file_operations ns_file_operations = {
static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
{
static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
{
- struct inode *inode = d
entry->d_inode
;
+ struct inode *inode = d
_inode(dentry)
;
const struct proc_ns_operations *ns_ops = dentry->d_fsdata;
return dynamic_dname(dentry, buffer, buflen, "%s:[%lu]",
const struct proc_ns_operations *ns_ops = dentry->d_fsdata;
return dynamic_dname(dentry, buffer, buflen, "%s:[%lu]",
@@
-22,7
+22,7
@@
static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
static void ns_prune_dentry(struct dentry *dentry)
{
static void ns_prune_dentry(struct dentry *dentry)
{
- struct inode *inode = d
entry->d_inode
;
+ struct inode *inode = d
_inode(dentry)
;
if (inode) {
struct ns_common *ns = inode->i_private;
atomic_long_set(&ns->stashed, 0);
if (inode) {
struct ns_common *ns = inode->i_private;
atomic_long_set(&ns->stashed, 0);