diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-08 15:19:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-08 15:19:57 -0500 |
commit | 972b2c719990f91eb3b2310d44ef8a2d38955a14 (patch) | |
tree | b25a250ec5bec4b7b6355d214642d8b57c5cab32 /net | |
parent | 02550d61f49266930e674286379d3601006b2893 (diff) | |
parent | c3aa077648e147783a7a53b409578234647db853 (diff) |
Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
* 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (165 commits)
reiserfs: Properly display mount options in /proc/mounts
vfs: prevent remount read-only if pending removes
vfs: count unlinked inodes
vfs: protect remounting superblock read-only
vfs: keep list of mounts for each superblock
vfs: switch ->show_options() to struct dentry *
vfs: switch ->show_path() to struct dentry *
vfs: switch ->show_devname() to struct dentry *
vfs: switch ->show_stats to struct dentry *
switch security_path_chmod() to struct path *
vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb
vfs: trim includes a bit
switch mnt_namespace ->root to struct mount
vfs: take /proc/*/mounts and friends to fs/proc_namespace.c
vfs: opencode mntget() mnt_set_mountpoint()
vfs: spread struct mount - remaining argument of next_mnt()
vfs: move fsnotify junk to struct mount
vfs: move mnt_devname
vfs: move mnt_list to struct mount
vfs: switch pnode.h macros to struct mount *
...
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/cache.c | 2 | ||||
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 3 | ||||
-rw-r--r-- | net/unix/af_unix.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 72ad836e4fe0..03b56bc3b659 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -1778,7 +1778,7 @@ const struct file_operations cache_flush_operations_pipefs = { | |||
1778 | }; | 1778 | }; |
1779 | 1779 | ||
1780 | int sunrpc_cache_register_pipefs(struct dentry *parent, | 1780 | int sunrpc_cache_register_pipefs(struct dentry *parent, |
1781 | const char *name, mode_t umode, | 1781 | const char *name, umode_t umode, |
1782 | struct cache_detail *cd) | 1782 | struct cache_detail *cd) |
1783 | { | 1783 | { |
1784 | struct qstr q; | 1784 | struct qstr q; |
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index bfddd68b31d3..63a7a7add21e 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -185,7 +185,6 @@ static void | |||
185 | rpc_i_callback(struct rcu_head *head) | 185 | rpc_i_callback(struct rcu_head *head) |
186 | { | 186 | { |
187 | struct inode *inode = container_of(head, struct inode, i_rcu); | 187 | struct inode *inode = container_of(head, struct inode, i_rcu); |
188 | INIT_LIST_HEAD(&inode->i_dentry); | ||
189 | kmem_cache_free(rpc_inode_cachep, RPC_I(inode)); | 188 | kmem_cache_free(rpc_inode_cachep, RPC_I(inode)); |
190 | } | 189 | } |
191 | 190 | ||
@@ -954,7 +953,7 @@ static void rpc_cachedir_depopulate(struct dentry *dentry) | |||
954 | } | 953 | } |
955 | 954 | ||
956 | struct dentry *rpc_create_cache_dir(struct dentry *parent, struct qstr *name, | 955 | struct dentry *rpc_create_cache_dir(struct dentry *parent, struct qstr *name, |
957 | mode_t umode, struct cache_detail *cd) | 956 | umode_t umode, struct cache_detail *cd) |
958 | { | 957 | { |
959 | return rpc_mkdir_populate(parent, name, umode, NULL, | 958 | return rpc_mkdir_populate(parent, name, umode, NULL, |
960 | rpc_cachedir_populate, cd); | 959 | rpc_cachedir_populate, cd); |
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 7cc3d7b23d1c..aad8fb699989 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -850,7 +850,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
850 | atomic_set(&addr->refcnt, 1); | 850 | atomic_set(&addr->refcnt, 1); |
851 | 851 | ||
852 | if (sun_path[0]) { | 852 | if (sun_path[0]) { |
853 | unsigned int mode; | 853 | umode_t mode; |
854 | err = 0; | 854 | err = 0; |
855 | /* | 855 | /* |
856 | * Get the parent directory, calculate the hash for last | 856 | * Get the parent directory, calculate the hash for last |