X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=fs%2Fext4%2Finline.c;h=70cf4c7b268a36136ba8883dae16c7a8266805e5;hb=6fbac201f95c03e4dbbd207caddaea8a00a78526;hp=a8b987b7117356cfee659fe57b9b9379a4fc3751;hpb=7b1cd95d65eb3b1e13f8a90eb757e0ea232c7899;p=sfrench%2Fcifs-2.6.git diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index a8b987b71173..70cf4c7b268a 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1 /* * Copyright (c) 2012 Taobao. * Written by Tao Ma - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of version 2.1 of the GNU Lesser General Public License - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include @@ -1495,7 +1487,7 @@ int ext4_read_inline_dir(struct file *file, * dirent right now. Scan from the start of the inline * dir to make sure. */ - if (inode_cmp_iversion(inode, file->f_version)) { + if (!inode_eq_iversion(inode, file->f_version)) { for (i = 0; i < extra_size && i < offset;) { /* * "." is with offset 0 and