procfs: fix kernel-doc param warnings

Fix mnt_flush_task() misplaced kernel-doc.
Fix typos in some of the doc text.

Warning(linux-2.6.23-git17//fs/proc/base.c:2280): No description found for parameter 'mnt'
Warning(linux-2.6.23-git17//fs/proc/base.c:2280): No description found for parameter 'pid'
Warning(linux-2.6.23-git17//fs/proc/base.c:2280): No description found for parameter 'tgid'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Randy Dunlap and committed by Linus Torvalds 0895e91d 481968f4

+22 -24
+22 -24
fs/proc/base.c
··· 2255 .setattr = proc_setattr, 2256 }; 2257 2258 - /** 2259 - * proc_flush_task - Remove dcache entries for @task from the /proc dcache. 2260 - * 2261 - * @task: task that should be flushed. 2262 - * 2263 - * Looks in the dcache for 2264 - * /proc/@pid 2265 - * /proc/@tgid/task/@pid 2266 - * if either directory is present flushes it and all of it'ts children 2267 - * from the dcache. 2268 - * 2269 - * It is safe and reasonable to cache /proc entries for a task until 2270 - * that task exits. After that they just clog up the dcache with 2271 - * useless entries, possibly causing useful dcache entries to be 2272 - * flushed instead. This routine is proved to flush those useless 2273 - * dcache entries at process exit time. 2274 - * 2275 - * NOTE: This routine is just an optimization so it does not guarantee 2276 - * that no dcache entries will exist at process exit time it 2277 - * just makes it very unlikely that any will persist. 2278 - */ 2279 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) 2280 { 2281 struct dentry *dentry, *leader, *dir; ··· 2301 return; 2302 } 2303 2304 - /* 2305 - * when flushing dentries from proc one need to flush them from global 2306 * proc (proc_mnt) and from all the namespaces' procs this task was seen 2307 - * in. this call is supposed to make all this job. 2308 */ 2309 2310 void proc_flush_task(struct task_struct *task)
··· 2255 .setattr = proc_setattr, 2256 }; 2257 2258 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) 2259 { 2260 struct dentry *dentry, *leader, *dir; ··· 2322 return; 2323 } 2324 2325 + /** 2326 + * proc_flush_task - Remove dcache entries for @task from the /proc dcache. 2327 + * @task: task that should be flushed. 2328 + * 2329 + * When flushing dentries from proc, one needs to flush them from global 2330 * proc (proc_mnt) and from all the namespaces' procs this task was seen 2331 + * in. This call is supposed to do all of this job. 2332 + * 2333 + * Looks in the dcache for 2334 + * /proc/@pid 2335 + * /proc/@tgid/task/@pid 2336 + * if either directory is present flushes it and all of it'ts children 2337 + * from the dcache. 2338 + * 2339 + * It is safe and reasonable to cache /proc entries for a task until 2340 + * that task exits. After that they just clog up the dcache with 2341 + * useless entries, possibly causing useful dcache entries to be 2342 + * flushed instead. This routine is proved to flush those useless 2343 + * dcache entries at process exit time. 2344 + * 2345 + * NOTE: This routine is just an optimization so it does not guarantee 2346 + * that no dcache entries will exist at process exit time it 2347 + * just makes it very unlikely that any will persist. 2348 */ 2349 2350 void proc_flush_task(struct task_struct *task)