OK
On 09/14/2015 04:21 AM, Ivan Shapovalov wrote:
---
This was left behind some time ago. I've just spotted a relevant warning.
fs/reiser4/plugin/inode_ops_rename.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/reiser4/plugin/inode_ops_rename.c b/fs/reiser4/plugin/inode_ops_rename.c
index 6744e14..ddb7bf5 100644
--- a/fs/reiser4/plugin/inode_ops_rename.c
+++ b/fs/reiser4/plugin/inode_ops_rename.c
@@ -435,7 +435,7 @@ int reiser4_rename2_common(struct inode *old_dir /* directory where @old
* We support:
* - RENAME_NOREPLACE (no-op)
*/
- if (flags & supported_flags != flags)
+ if ((flags & supported_flags) != flags)
return RETERR(-EINVAL);
old_entry = kzalloc(3 * sizeof(*old_entry) + 2 * sizeof(*new_lh) +
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html