RE: [PATCH] lslocks: add personality column

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Davidlohr Bueso wrote:

> @@ -248,8 +251,9 @@ static int get_local_locks(struct list_head *locks)
>  			 * separated by ' ' - check <kernel>/fs/locks.c
>  			 */
>  			switch (i) {
> -			case 0:
> -			case 1: /* not intereted! */
> +			case 0: /* not intereted! */
> +			case 1: /* posix, flock, etc */
> +				l->personality = xstrdup(tok);
>  				break;

Forgot a break for case 0?

btw: s/intereted/interested/

and a few lines above:
-			 * /proc/locks as *exactly* 8 "blocks" of text
+			 * /proc/locks has *exactly* 8 "blocks" of text

Have a nice day,
Berny
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux