compounding and backup intent

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

 



I noticed that there are five or six places (mostly in smb2inode.c)
where calls to a compounded open no long pass the
CREATE_OPEN_BACKUP_INTENT flag - I am fixing the most important one
now (in smb2_query_info) but probably should fix the ones for
compounded mkdir/rmdir/unlink/setinfo as well ...

Typical missing code is the following:

smb2ops.c-if (backup_cred(cifs_sb))
smb2ops.c:        create_options  = CREATE_OPEN_BACKUP_INTENT;
smb2ops.c-else
smb2ops.c-        create_options = 0;

Thoughts?

-- 
Thanks,

Steve



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

  Powered by Linux