Re: [PATCH 7/12: eCryptfs] File operations

From: James Morris
Date: Thu Nov 03 2005 - 18:49:22 EST


On Wed, 2 Nov 2005, Phillip Hellewell wrote:

> + rc = wait_event_interruptible(fl->fl_wait, !fl->fl_next);
> + if (!rc) {
> + goto lock_file;
> + }

> + } else {
> + tempfl = posix_test_lock(file, fl);
> + }
> + if (!tempfl) {
> + fl->fl_type = F_UNLCK;
> + } else {
> + memcpy(fl, tempfl, sizeof(struct file_lock));
> + }

Pointless braces (all over the place).


- James
--
James Morris
<jmorris@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/