diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-07 11:56:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-07 11:56:33 -0500 |
commit | b4a45f5fe8078bfc10837dbd5b98735058bc4698 (patch) | |
tree | df6f13a27610a3ec7eb4a661448cd779a8f84c79 /arch/ia64/kernel/perfmon.c | |
parent | 01539ba2a706ab7d35fc0667dff919ade7f87d63 (diff) | |
parent | b3e19d924b6eaf2ca7d22cba99a517c5171007b6 (diff) |
Merge branch 'vfs-scale-working' of git://git.kernel.org/pub/scm/linux/kernel/git/npiggin/linux-npiggin
* 'vfs-scale-working' of git://git.kernel.org/pub/scm/linux/kernel/git/npiggin/linux-npiggin: (57 commits)
fs: scale mntget/mntput
fs: rename vfsmount counter helpers
fs: implement faster dentry memcmp
fs: prefetch inode data in dcache lookup
fs: improve scalability of pseudo filesystems
fs: dcache per-inode inode alias locking
fs: dcache per-bucket dcache hash locking
bit_spinlock: add required includes
kernel: add bl_list
xfs: provide simple rcu-walk ACL implementation
btrfs: provide simple rcu-walk ACL implementation
ext2,3,4: provide simple rcu-walk ACL implementation
fs: provide simple rcu-walk generic_check_acl implementation
fs: provide rcu-walk aware permission i_ops
fs: rcu-walk aware d_revalidate method
fs: cache optimise dentry and inode for rcu-walk
fs: dcache reduce branches in lookup path
fs: dcache remove d_mounted
fs: fs_struct use seqlock
fs: rcu-walk for path lookup
...
Diffstat (limited to 'arch/ia64/kernel/perfmon.c')
-rw-r--r-- | arch/ia64/kernel/perfmon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 39e534f5a3b0..f099b82703d8 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
@@ -1542,7 +1542,7 @@ pfm_exit_smpl_buffer(pfm_buffer_fmt_t *fmt) | |||
1542 | * any operations on the root directory. However, we need a non-trivial | 1542 | * any operations on the root directory. However, we need a non-trivial |
1543 | * d_name - pfm: will go nicely and kill the special-casing in procfs. | 1543 | * d_name - pfm: will go nicely and kill the special-casing in procfs. |
1544 | */ | 1544 | */ |
1545 | static struct vfsmount *pfmfs_mnt; | 1545 | static struct vfsmount *pfmfs_mnt __read_mostly; |
1546 | 1546 | ||
1547 | static int __init | 1547 | static int __init |
1548 | init_pfm_fs(void) | 1548 | init_pfm_fs(void) |
@@ -2185,7 +2185,7 @@ static const struct file_operations pfm_file_ops = { | |||
2185 | }; | 2185 | }; |
2186 | 2186 | ||
2187 | static int | 2187 | static int |
2188 | pfmfs_delete_dentry(struct dentry *dentry) | 2188 | pfmfs_delete_dentry(const struct dentry *dentry) |
2189 | { | 2189 | { |
2190 | return 1; | 2190 | return 1; |
2191 | } | 2191 | } |
@@ -2233,7 +2233,7 @@ pfm_alloc_file(pfm_context_t *ctx) | |||
2233 | } | 2233 | } |
2234 | path.mnt = mntget(pfmfs_mnt); | 2234 | path.mnt = mntget(pfmfs_mnt); |
2235 | 2235 | ||
2236 | path.dentry->d_op = &pfmfs_dentry_operations; | 2236 | d_set_d_op(path.dentry, &pfmfs_dentry_operations); |
2237 | d_add(path.dentry, inode); | 2237 | d_add(path.dentry, inode); |
2238 | 2238 | ||
2239 | file = alloc_file(&path, FMODE_READ, &pfm_file_ops); | 2239 | file = alloc_file(&path, FMODE_READ, &pfm_file_ops); |