diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 14:26:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 14:26:52 -0400 |
commit | 5f248c9c251c60af3403902b26e08de43964ea0b (patch) | |
tree | 6d3328e72a7e4015a64017eb30be18095c6a3c64 /arch/alpha/kernel | |
parent | f6cec0ae58c17522a7bc4e2f39dae19f199ab534 (diff) | |
parent | dca332528bc69e05f67161e1ed59929633d5e63d (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (96 commits)
no need for list_for_each_entry_safe()/resetting with superblock list
Fix sget() race with failing mount
vfs: don't hold s_umount over close_bdev_exclusive() call
sysv: do not mark superblock dirty on remount
sysv: do not mark superblock dirty on mount
btrfs: remove junk sb_dirt change
BFS: clean up the superblock usage
AFFS: wait for sb synchronization when needed
AFFS: clean up dirty flag usage
cifs: truncate fallout
mbcache: fix shrinker function return value
mbcache: Remove unused features
add f_flags to struct statfs(64)
pass a struct path to vfs_statfs
update VFS documentation for method changes.
All filesystems that need invalidate_inode_buffers() are doing that explicitly
convert remaining ->clear_inode() to ->evict_inode()
Make ->drop_inode() just return whether inode needs to be dropped
fs/inode.c:clear_inode() is gone
fs/inode.c:evict() doesn't care about delete vs. non-delete paths now
...
Fix up trivial conflicts in fs/nilfs2/super.c
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index de9d39717808..88131c6e42e3 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -234,11 +234,11 @@ linux_to_osf_statfs(struct kstatfs *linux_stat, struct osf_statfs __user *osf_st | |||
234 | } | 234 | } |
235 | 235 | ||
236 | static int | 236 | static int |
237 | do_osf_statfs(struct dentry * dentry, struct osf_statfs __user *buffer, | 237 | do_osf_statfs(struct path *path, struct osf_statfs __user *buffer, |
238 | unsigned long bufsiz) | 238 | unsigned long bufsiz) |
239 | { | 239 | { |
240 | struct kstatfs linux_stat; | 240 | struct kstatfs linux_stat; |
241 | int error = vfs_statfs(dentry, &linux_stat); | 241 | int error = vfs_statfs(path, &linux_stat); |
242 | if (!error) | 242 | if (!error) |
243 | error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); | 243 | error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); |
244 | return error; | 244 | return error; |
@@ -252,7 +252,7 @@ SYSCALL_DEFINE3(osf_statfs, char __user *, pathname, | |||
252 | 252 | ||
253 | retval = user_path(pathname, &path); | 253 | retval = user_path(pathname, &path); |
254 | if (!retval) { | 254 | if (!retval) { |
255 | retval = do_osf_statfs(path.dentry, buffer, bufsiz); | 255 | retval = do_osf_statfs(&path buffer, bufsiz); |
256 | path_put(&path); | 256 | path_put(&path); |
257 | } | 257 | } |
258 | return retval; | 258 | return retval; |
@@ -267,7 +267,7 @@ SYSCALL_DEFINE3(osf_fstatfs, unsigned long, fd, | |||
267 | retval = -EBADF; | 267 | retval = -EBADF; |
268 | file = fget(fd); | 268 | file = fget(fd); |
269 | if (file) { | 269 | if (file) { |
270 | retval = do_osf_statfs(file->f_path.dentry, buffer, bufsiz); | 270 | retval = do_osf_statfs(&file->f_path, buffer, bufsiz); |
271 | fput(file); | 271 | fput(file); |
272 | } | 272 | } |
273 | return retval; | 273 | return retval; |