Pavel Shilovsky
689c3db4d5
CIFS: Fix a deadlock when a file is reopened
...
If we request reading or writing on a file that needs to be
reopened, it causes the deadlock: we are already holding rw
semaphore for reading and then we try to acquire it for writing
in cifs_relock_file. Fix this by acquiring the semaphore for
reading in cifs_relock_file due to we don't make any changes in
locks and don't need a write access.
CC: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
2013-07-11 18:05:41 -05:00
..
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:57:36 +04:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:46:48 +04:00
2013-06-29 12:56:55 +04:00
2013-06-29 12:56:33 +04:00
2013-07-04 11:40:58 -07:00
2013-07-03 16:07:31 -07:00
2013-07-03 09:10:19 -07:00
2013-07-11 18:05:41 -05:00
2013-06-29 12:57:20 +04:00
2013-07-03 16:07:23 -07:00
2013-06-29 12:56:46 +04:00
2013-06-03 13:55:02 -07:00
2013-03-07 01:08:55 -08:00
2013-06-26 11:38:02 -05:00
2013-06-29 12:57:25 +04:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:56:31 +04:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:05 +04:00
2013-06-29 12:57:10 +04:00
2013-07-03 16:07:29 -07:00
2013-07-03 09:10:19 -07:00
2013-07-02 09:42:38 -07:00
2013-07-03 16:08:01 -07:00
2013-06-29 12:56:53 +04:00
2013-06-19 14:16:47 +01:00
2013-07-03 16:07:35 -07:00
2013-07-03 09:10:19 -07:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:57:36 +04:00
2013-06-29 12:56:59 +04:00
2013-07-04 11:22:55 -07:00
2013-07-03 16:07:41 -07:00
2013-05-07 18:38:27 -07:00
2013-06-29 12:57:36 +04:00
2013-05-21 23:26:36 -04:00
2013-07-01 08:12:41 -04:00
2013-06-29 12:56:47 +04:00
2013-07-03 09:10:19 -07:00
2013-07-03 16:07:41 -07:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:35 +04:00
2013-07-03 16:07:26 -07:00
2013-07-03 17:12:13 -07:00
2013-02-13 06:15:14 -08:00
2013-06-29 12:57:42 +04:00
2013-07-03 16:08:01 -07:00
2013-06-29 12:57:23 +04:00
2013-07-02 09:39:34 -07:00
2013-07-03 16:07:25 -07:00
2013-06-29 12:56:37 +04:00
2013-06-29 12:56:32 +04:00
2013-07-03 16:08:02 -07:00
2013-07-04 10:29:23 -07:00
2013-06-29 12:56:38 +04:00
2013-06-29 12:56:39 +04:00
2013-03-11 22:05:56 +01:00
2013-02-26 20:16:07 -08:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:56:29 +04:00
2013-06-29 12:56:28 +04:00
2013-07-02 11:44:19 -07:00
2013-06-29 12:57:36 +04:00
2013-07-02 09:39:34 -07:00
2013-06-29 12:57:12 +04:00
2013-06-29 12:46:47 +04:00
2013-07-03 09:10:19 -07:00
2013-07-03 16:08:06 -07:00
2013-02-26 02:46:11 -05:00
2013-06-29 12:57:04 +04:00
2013-05-01 17:51:54 -07:00
2013-05-02 10:16:16 -07:00
2013-05-02 10:16:16 -07:00
2013-04-29 15:40:23 -04:00
2013-04-30 17:04:03 -07:00
2013-03-23 14:26:34 -07:00
2013-05-08 10:13:35 -07:00
2013-07-03 16:07:29 -07:00
2013-07-03 16:07:29 -07:00
2013-06-29 12:46:44 +04:00
2013-06-29 12:57:05 +04:00
2013-07-03 16:08:02 -07:00
2013-07-03 09:10:19 -07:00
2013-03-03 23:00:23 -05:00
2013-05-08 10:13:35 -07:00
2013-07-03 17:12:13 -07:00
2013-07-03 16:08:03 -07:00
2013-02-22 23:31:31 -05:00
2013-06-29 12:57:13 +04:00
2013-05-01 17:31:42 -04:00
2013-03-03 19:36:31 -08:00
2013-03-01 23:51:07 -05:00
2013-07-02 09:16:42 -07:00
2013-06-29 12:57:11 +04:00
2013-06-29 12:57:34 +04:00
2013-02-22 23:31:31 -05:00
2013-04-17 13:25:09 +01:00
2013-04-30 17:04:04 -07:00
2013-06-29 12:46:48 +04:00
2013-06-29 12:57:46 +04:00
2013-05-01 17:51:54 -07:00
2013-04-09 14:12:52 -04:00
2013-06-29 12:57:36 +04:00
2013-05-04 15:18:53 -04:00
2013-06-29 12:57:10 +04:00
2013-05-07 20:16:25 -07:00
2013-05-31 15:16:33 -04:00
2013-05-01 17:51:54 -07:00
2013-07-03 16:23:27 +04:00
2013-06-29 12:57:05 +04:00
2013-05-12 14:16:22 +02:00
2013-04-09 14:13:29 -04:00
2013-03-03 22:58:46 -05:00
2013-07-03 09:10:19 -07:00
2013-02-26 02:46:08 -05:00
2013-02-27 19:10:24 -08:00
2013-03-03 22:46:22 -05:00
2013-03-02 09:35:13 -05:00