Re: [PATCH v1] cifs: smb2ops: Fix listxattr() when there are no EAs

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

 



The bug can be triggered by listing the xattr with getfattr on a samba
smb2 mount point:

    $ echo foo > foo.txt ; getfattr foo.txt ; echo $?
    getfattr: foo.txt: No such attribute
    1

vs on an xfs mount point and on a patched kernel:

    $ echo foo > foo.txt ; getfattr foo.txt ; echo $?
    0

Reviewed-by: Aurelien Aptel <aaptel@xxxxxxxx>

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux