X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Freiserfs%2Fprocfs.c;h=950998419d3eed929f5500100738a47e293023d4;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=b9f5be9d86ab7617b1ed674ac6fcf27b8e4f451c;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c index b9f5be9d8..950998419 100644 --- a/fs/reiserfs/procfs.c +++ b/fs/reiserfs/procfs.c @@ -591,7 +591,7 @@ void reiserfs_proc_unregister_global( const char *name ) int reiserfs_proc_info_global_init( void ) { if( proc_info_root == NULL ) { - proc_info_root = proc_mkdir( proc_info_root_name, 0 ); + proc_info_root = proc_mkdir(proc_info_root_name, NULL); if( proc_info_root ) { proc_info_root -> owner = THIS_MODULE; } else { @@ -608,7 +608,7 @@ int reiserfs_proc_info_global_done( void ) { if ( proc_info_root != NULL ) { proc_info_root = NULL; - remove_proc_entry( proc_info_root_name, 0 ); + remove_proc_entry(proc_info_root_name, NULL); } return 0; }