Nicolas Iooss
0f5aa88a7b
ceph: do not modify fi->frag in need_reset_readdir()
...
Commit f3c4ebe65ea1 ("ceph: using hash value to compose dentry offset")
modified "if (fpos_frag(new_pos) != fi->frag)" to "if (fi->frag |=
fpos_frag(new_pos))" in need_reset_readdir(), thus replacing a
comparison operator with an assignment one.
This looks like a typo which is reported by clang when building the
kernel with some warning flags:
fs/ceph/dir.c:600:22: error: using the result of an assignment as a
condition without parentheses [-Werror,-Wparentheses]
} else if (fi->frag |= fpos_frag(new_pos)) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
fs/ceph/dir.c:600:22: note: place parentheses around the assignment
to silence this warning
} else if (fi->frag |= fpos_frag(new_pos)) {
^
( )
fs/ceph/dir.c:600:22: note: use '!=' to turn this compound
assignment into an inequality comparison
} else if (fi->frag |= fpos_frag(new_pos)) {
^~
!=
Fixes: f3c4ebe65ea1 ("ceph: using hash value to compose dentry offset")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-09-05 14:30:35 +02:00
..
2016-08-07 10:01:14 -04:00
2016-08-07 10:01:14 -04:00
2016-07-31 16:37:25 -04:00
2016-08-06 00:08:40 -04:00
2016-08-06 09:49:02 -04:00
2016-05-23 17:04:14 -07:00
2016-05-09 11:41:14 -04:00
2016-09-03 12:40:45 -07:00
2016-08-03 13:33:26 -04:00
2016-09-05 14:30:35 +02:00
2016-07-31 16:37:25 -04:00
2016-05-29 19:08:00 -04:00
2016-07-10 21:02:18 +09:00
2016-05-09 11:41:14 -04:00
2016-06-07 13:41:38 -06:00
2016-06-30 23:34:49 -04:00
2016-09-03 11:02:50 -07:00
2016-08-26 13:22:14 -05:00
2016-07-08 10:35:28 -05:00
2016-07-31 16:37:25 -04:00
2016-05-20 17:58:30 -07:00
2016-06-07 13:41:38 -06:00
2016-05-02 19:49:29 -04:00
2016-08-06 09:49:02 -04:00
2016-08-29 12:37:11 -07:00
2016-08-19 11:15:08 +09:00
2016-08-07 10:01:14 -04:00
2016-06-13 10:20:39 +02:00
2016-06-30 23:34:49 -04:00
2016-08-06 09:49:02 -04:00
2016-08-07 10:03:31 -04:00
2016-08-07 10:01:14 -04:00
2016-08-07 10:01:14 -04:00
2016-08-04 00:18:10 +02:00
2016-07-31 16:37:25 -04:00
2016-04-04 10:41:08 -07:00
2016-07-31 16:37:25 -04:00
2016-07-26 18:35:55 -07:00
2016-06-10 20:21:46 -07:00
2016-07-31 16:37:25 -04:00
2016-08-31 14:48:52 +02:00
2016-07-28 12:59:05 -07:00
2016-08-06 09:49:02 -04:00
2016-05-02 19:49:32 -04:00
2016-07-31 16:37:25 -04:00
2016-08-30 09:26:57 -04:00
2016-08-12 16:10:25 -04:00
2016-08-02 19:35:21 -04:00
2016-05-19 19:12:14 -07:00
2016-07-28 12:59:05 -07:00
2016-08-06 09:49:02 -04:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2016-08-02 15:39:13 -04:00
2016-09-01 11:12:00 +02:00
2016-09-01 15:55:56 -07:00
2016-08-05 11:21:46 -07:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2016-07-29 15:54:19 -07:00
2016-05-20 17:58:30 -07:00
2016-08-02 19:35:22 -04:00
2016-05-09 11:41:15 -04:00
2016-06-07 13:41:38 -06:00
2016-08-31 15:14:44 +02:00
2016-06-10 20:21:46 -07:00
2016-05-29 16:22:07 -04:00
2016-08-23 23:02:52 +02:00
2016-07-26 15:37:51 -07:00
2016-07-28 12:59:05 -07:00
2016-08-30 13:51:39 +10:00
2016-05-23 17:04:14 -07:00
2016-07-05 15:06:46 -05:00
2016-05-27 20:09:16 -04:00
2016-05-28 16:34:59 -07:00
2016-07-25 16:51:49 +10:00
2016-08-31 09:13:56 -07:00
2016-08-02 19:35:15 -04:00
2016-07-28 13:29:12 +10:00
2016-08-07 10:13:14 -04:00
2016-08-25 08:38:26 -06:00
2016-07-27 09:53:35 -07:00
2016-07-14 16:21:53 +09:00
2016-06-28 10:00:13 -03:00
2016-05-24 12:55:26 -07:00
2016-06-07 22:07:09 -04:00
2016-07-28 17:38:16 -07:00
2016-08-07 10:01:14 -04:00
2016-06-07 13:41:38 -06:00
2016-03-22 15:36:02 -07:00
2016-05-19 19:12:14 -07:00
2016-08-04 18:04:44 -04:00
2016-03-22 15:36:02 -07:00
2016-05-02 19:49:28 -04:00
2016-08-09 19:58:06 -06:00
2016-08-07 10:01:14 -04:00
2016-08-07 10:13:14 -04:00
2016-07-28 15:23:12 -07:00
2016-08-29 11:33:58 +10:00
2016-08-04 19:59:06 -04:00
2016-07-28 13:29:13 +10:00
2016-06-20 17:11:29 -04:00
2016-07-01 10:24:18 -04:00
2016-06-21 09:23:11 +10:00
2016-02-22 22:44:04 -05:00
2016-08-07 14:41:02 -06:00
2016-08-07 10:03:31 -04:00
2016-07-29 15:54:19 -07:00
2016-08-07 10:13:14 -04:00
2016-08-09 10:14:10 -07:00
2016-05-05 09:54:45 -05:00
2016-07-29 15:54:19 -07:00
2016-03-16 13:09:08 -04:00
2016-07-15 10:30:26 +02:00
2016-05-26 00:13:25 -04:00
2016-05-19 19:12:14 -07:00
2016-08-26 17:39:35 -07:00
2016-05-11 00:00:29 -04:00
2016-07-29 15:54:19 -07:00
2016-04-04 10:41:08 -07:00
2016-06-09 23:42:38 +02:00
2016-07-26 16:19:19 -07:00
2016-08-07 10:03:31 -04:00
2016-07-05 15:06:46 -05:00