Re: [PATCH v2] readdir cf_nlink initialization

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

 



Will Delete on close attribute also be set when link count is
(validly) 0.   Might be good question for dochelp

On Mon, Sep 16, 2013 at 4:11 PM, Jim McDonough <jmcd@xxxxxxxxx> wrote:
> On Sun, Sep 8, 2013 at 10:32 AM, Jeff Layton <jlayton@xxxxxxxxx> wrote:
>> The only other thing I see is that the code in cifs_all_info_to_fattr
>> ought to be changed to use this flag and not try to fake up the
>> cf_nlink value.
> Ok, after looking a bit more, I'm not sure how we would know what to
> do.  If we're doing a qpathinfo for all_info, aren't we always getting
> a value for nlink?  How would we determine whether it needs to be
> "fixed" or not?  Do we just assume that for all non-unix cases we
> can't trust it?
>
>
> --
> Jim McDonough
> Samba Team
> SUSE labs
> jmcd at samba dot org
> jmcd at themcdonoughs dot org
> --
> 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



-- 
Thanks,

Steve
--
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