Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260187 > unrolled thread

linux-next: manual merge of the akpm-current tree with the file-locks tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2015-11-01 16:50 +0100
Last post2015-11-01 16:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-next: manual merge of the akpm-current tree with the  file-locks tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-11-01 16:50 +0100

#1260187 — linux-next: manual merge of the akpm-current tree with the file-locks tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2015-11-01 16:50 +0100
Subjectlinux-next: manual merge of the akpm-current tree with the file-locks tree
Message-ID<qq33j-1Jg-1@gated-at.bofh.it>
Hi Andrew,

Today's linux-next merge of the akpm-current tree got a conflict in:

  fs/9p/vfs_file.c

between commit:

  4f6563677ae8 ("Move locks API users to locks_lock_inode_wait()")

from the file-locks tree and commit:

  4c3932157148 ("9p: do not overwrite return code when locking fails")

from the akpm-current tree.

I fixed it up (I think - see below) and can carry the fix as necessary
(no action is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc fs/9p/vfs_file.c
index f23fd86697ea,6b747394f6f5..000000000000
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@@ -231,7 -231,8 +231,8 @@@ out_unlock
  	if (res < 0 && fl->fl_type != F_UNLCK) {
  		fl_type = fl->fl_type;
  		fl->fl_type = F_UNLCK;
- 		res = locks_lock_file_wait(filp, fl);
+ 		/* Even if this fails we want to return the remote error */
 -		posix_lock_file_wait(filp, fl);
++		locks_lock_file_wait(filp, fl);
  		fl->fl_type = fl_type;
  	}
  out:
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web