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

James Morris
2005-11-03T23:49:28Z

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@namei.org>