Re: [bug report] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/05/04 20:14, Dan Carpenter wrote:
> Hello Tetsuo Handa,
> 
> The patch 81b21c0f0138: "fs: hfsplus: remove WARN_ON() from
> hfsplus_cat_{read,write}_inode()" from Apr 11, 2023, leads to the
> following Smatch static checker warning:
> 
> 	fs/hfsplus/inode.c:596 hfsplus_cat_write_inode()
> 	warn: missing error code here? 'hfsplus_find_cat()' failed. 'res' = '0'

It has been returning 0 since commit 1da177e4c3f4 ("Linux-2.6.12-rc2").
I guess that the author of this filesystem was wondering what to do in that case.
Since this filesystem is orphaned, I don't know whom to ask.
If you think returning an error is better, please submit as a patch.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux