Re: [PATCH 10 of 23] Unionfs: Inode operations

From: Pekka Enberg
Date: Fri Oct 13 2006 - 04:53:28 EST


On 10/7/06, Josef Jeff Sipek <jsipek@xxxxxxxxxxxxx> wrote:
+static int unionfs_setattr(struct dentry *dentry, struct iattr *ia)
+{

[snip]

+ for (bindex = bstart; (bindex <= bend) || (bindex == bstart); bindex++) {

But everywhere else we have

for (bindex = bstart; bindex <= bend; bindex++) {

Hmm?

P.S. for_each_branch() and for_each_branch_reverse() might be a good idea.

Pekka
-
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/