FreeBSD Bugzilla – Attachment 162592 Details for
Bug 204139
Remove k&r definitions in vfs_extattr.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Remove k&r defintions
file_204139.txt (text/plain), 5.29 KB, created by
will
on 2015-10-30 06:41:37 UTC
(
hide
)
Description:
Remove k&r defintions
Filename:
MIME Type:
Creator:
will
Created:
2015-10-30 06:41:37 UTC
Size:
5.29 KB
patch
obsolete
>Index: sys/kern/vfs_extattr.c >=================================================================== >--- sys/kern/vfs_extattr.c (revision 290181) >+++ sys/kern/vfs_extattr.c (working copy) >@@ -55,15 +55,7 @@ > * Currently this is used only by UFS1 extended attributes. > */ > int >-sys_extattrctl(td, uap) >- struct thread *td; >- struct extattrctl_args /* { >- const char *path; >- int cmd; >- const char *filename; >- int attrnamespace; >- const char *attrname; >- } */ *uap; >+sys_extattrctl(struct thread *td, struct extattrctl_args *uap) > { > struct vnode *filename_vp; > struct nameidata nd; >@@ -204,15 +196,7 @@ > } > > int >-sys_extattr_set_fd(td, uap) >- struct thread *td; >- struct extattr_set_fd_args /* { >- int fd; >- int attrnamespace; >- const char *attrname; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_set_fd(struct thread *td, struct extattr_set_fd_args *uap) > { > struct file *fp; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -239,15 +223,7 @@ > } > > int >-sys_extattr_set_file(td, uap) >- struct thread *td; >- struct extattr_set_file_args /* { >- const char *path; >- int attrnamespace; >- const char *attrname; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_set_file(struct thread *td, struct extattr_set_file_args *uap) > { > struct nameidata nd; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -274,15 +250,7 @@ > } > > int >-sys_extattr_set_link(td, uap) >- struct thread *td; >- struct extattr_set_link_args /* { >- const char *path; >- int attrnamespace; >- const char *attrname; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_set_link(struct thread *td, struct extattr_set_link_args *uap) > { > struct nameidata nd; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -379,15 +347,7 @@ > } > > int >-sys_extattr_get_fd(td, uap) >- struct thread *td; >- struct extattr_get_fd_args /* { >- int fd; >- int attrnamespace; >- const char *attrname; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_get_fd(struct thread *td, struct extattr_get_fd_args *uap) > { > struct file *fp; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -414,15 +374,7 @@ > } > > int >-sys_extattr_get_file(td, uap) >- struct thread *td; >- struct extattr_get_file_args /* { >- const char *path; >- int attrnamespace; >- const char *attrname; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_get_file(struct thread *td, struct extattr_get_file_args *uap) > { > struct nameidata nd; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -448,15 +400,7 @@ > } > > int >-sys_extattr_get_link(td, uap) >- struct thread *td; >- struct extattr_get_link_args /* { >- const char *path; >- int attrnamespace; >- const char *attrname; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_get_link(struct thread *td, struct extattr_get_link_args *uap) > { > struct nameidata nd; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -525,13 +469,7 @@ > } > > int >-sys_extattr_delete_fd(td, uap) >- struct thread *td; >- struct extattr_delete_fd_args /* { >- int fd; >- int attrnamespace; >- const char *attrname; >- } */ *uap; >+sys_extattr_delete_fd(struct thread *td, struct extattr_delete_fd_args *uap) > { > struct file *fp; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -557,13 +495,7 @@ > } > > int >-sys_extattr_delete_file(td, uap) >- struct thread *td; >- struct extattr_delete_file_args /* { >- const char *path; >- int attrnamespace; >- const char *attrname; >- } */ *uap; >+sys_extattr_delete_file(struct thread *td, struct extattr_delete_file_args *uap) > { > struct nameidata nd; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -587,13 +519,7 @@ > } > > int >-sys_extattr_delete_link(td, uap) >- struct thread *td; >- struct extattr_delete_link_args /* { >- const char *path; >- int attrnamespace; >- const char *attrname; >- } */ *uap; >+sys_extattr_delete_link(struct thread *td, struct extattr_delete_link_args *uap) > { > struct nameidata nd; > char attrname[EXTATTR_MAXNAMELEN]; >@@ -682,14 +608,7 @@ > > > int >-sys_extattr_list_fd(td, uap) >- struct thread *td; >- struct extattr_list_fd_args /* { >- int fd; >- int attrnamespace; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_list_fd(struct thread *td, struct extattr_list_fd_args *uap) > { > struct file *fp; > cap_rights_t rights; >@@ -710,14 +629,7 @@ > } > > int >-sys_extattr_list_file(td, uap) >- struct thread*td; >- struct extattr_list_file_args /* { >- const char *path; >- int attrnamespace; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_list_file(struct thread *td, struct extattr_list_file_args *uap) > { > struct nameidata nd; > int error; >@@ -737,14 +649,7 @@ > } > > int >-sys_extattr_list_link(td, uap) >- struct thread*td; >- struct extattr_list_link_args /* { >- const char *path; >- int attrnamespace; >- void *data; >- size_t nbytes; >- } */ *uap; >+sys_extattr_list_link(struct thread *td, struct extattr_list_link_args *uap) > { > struct nameidata nd; > int error; >Index: usr.sbin/bhyve/bhyverun.c >=================================================================== >--- usr.sbin/bhyve/bhyverun.c (revision 290181) >+++ usr.sbin/bhyve/bhyverun.c (working copy) >@@ -258,7 +258,8 @@ > * with vm_suspend(). > */ > error = vm_activate_cpu(ctx, newcpu); >- assert(error == 0); >+ if (error) >+ err(EX_OSERR, "Could not activate cpu %d", newcpu); > > CPU_SET_ATOMIC(newcpu, &cpumask); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204139
: 162592