[PATCH] fix one of Re: 2.5.15 warnings

Stephen Rothwell (sfr@canb.auug.org.au)
Fri, 10 May 2002 17:17:16 +1000


Hi Linus,

On Fri, 10 May 2002 15:01:25 +1000 Keith Owens <kaos@ocs.com.au> wrote:
>
> fs/dnotify.c: In function `__inode_dir_notify':
> fs/dnotify.c:139: warning: label `out' defined but not used

Obvious fix below. (I removed the only goto ...)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.15/fs/dnotify.c 2.5.15-sfr/fs/dnotify.c --- 2.5.15/fs/dnotify.c Fri May 10 09:35:13 2002 +++ 2.5.15-sfr/fs/dnotify.c Fri May 10 17:03:41 2002 @@ -135,7 +135,6 @@ } if (changed) redo_inode_mask(inode); -out: write_unlock(&dn_lock); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/