diff for duplicates of <20131113141031.GA29645@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index d37aaff..2a749ac 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,7 +11,7 @@ index f99d52b..7b7ed7d 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1495,7 +1495,8 @@ static int generic_add_lease(struct file *filp, long arg, struct file_lock **flp - if (is_deleg && arg = F_WRLCK) { + if (is_deleg && arg == F_WRLCK) { /* Write delegations are not currently supported: */ WARN_ON_ONCE(1); - return -EINVAL; diff --git a/a/content_digest b/N1/content_digest index 56314a8..940044b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020131113135103.GA27536@pad.fieldses.org\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch v2] locks: missing unlock on error in generic_add_lease()\0" - "Date\0Wed, 13 Nov 2013 14:10:31 +0000\0" + "Date\0Wed, 13 Nov 2013 17:10:31 +0300\0" "To\0Matthew Wilcox <matthew@wil.cx>" " J. Bruce Fields <bfields@redhat.com>\0" "Cc\0Alexander Viro <viro@zeniv.linux.org.uk>" @@ -22,7 +22,7 @@ "--- a/fs/locks.c\n" "+++ b/fs/locks.c\n" "@@ -1495,7 +1495,8 @@ static int generic_add_lease(struct file *filp, long arg, struct file_lock **flp\n" - " \tif (is_deleg && arg = F_WRLCK) {\n" + " \tif (is_deleg && arg == F_WRLCK) {\n" " \t\t/* Write delegations are not currently supported: */\n" " \t\tWARN_ON_ONCE(1);\n" "-\t\treturn -EINVAL;\n" @@ -32,4 +32,4 @@ " \n" " \terror = -EAGAIN;" -33685996246717339a657322ca4e447c13c9dc527fba1f67ed521a3896aa9427 +65e310c8ac45a6c9a4fc18dd079b5af4745b2b757945f9ccb90210056f84bf3b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.