summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2008-02-26pvfs_setfileinfo: break level2 oplocks on setfileinfo() ALLOCATION_INFO and ↵Stefan Metzmacher1-0/+6
END_OF_FILE_INFO metze (This used to be commit b258f9d8d4bf3606f4884d1bff548f16dadc08aa)
2008-02-26pvfs: send oplock breaks to none to level2 holders on write/lock requestsStefan Metzmacher2-1/+7
metze (This used to be commit b8c42a1ff8fd4131ef2a1ad92a7405a2e4d335d3)
2008-02-26pvfs_oplocks: add pvfs_break_level2_oplocks()Stefan Metzmacher1-0/+39
metze (This used to be commit e0837238b6b09143970f03b6a78201c3fe55f3cd)
2008-02-26pvfs: handle oplock releases in its own function pvfs_oplock_release()Stefan Metzmacher2-7/+68
metze (This used to be commit 27ec7bfc8b7f46c97e6878caf5cd694c517ce053)
2008-02-26pvfs_open: call pvfs_setup_oplock() if an oplock was grantedStefan Metzmacher2-3/+27
This is needed to receive oplock breaks from other "processes" metze (This used to be commit dd56f55afdc0d114a0b0bceb0e4feb022919323a)
2008-02-26pvfs: add pvfs_setup_oplock() to receive oplock breaks and pass them to the ↵Stefan Metzmacher2-0/+137
client metze (This used to be commit b09a2b126723bd75afd245f549703a04e512e129)
2008-02-26pvfs_open: make the retry logic indepdendent from open and sharing violationsStefan Metzmacher2-50/+104
metze (This used to be commit 56bd63a4236ebf360d3e805c8560df86759573f7)
2008-02-26pvfs_open: fix odb_can_open() callers after prototype changeStefan Metzmacher1-16/+35
metze (This used to be commit 904159327b3cb80fbec6aa5a4feaa141190a3f3a)
2008-02-26opendb: unify the parameters of odb_open_file() and odb_can_open()Stefan Metzmacher3-15/+11
metze (This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)
2008-02-26pvfs_open: pass down open_disposition and break_to_none to odb_open_file()Stefan Metzmacher1-8/+12
metze (This used to be commit 46500983fe2f63540a67e2e963ab264fa8a090d0)
2008-02-26opendb: pass down open_disposition and break_to_none to odb_open_file()Stefan Metzmacher3-13/+14
metze (This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)
2008-02-26pvfs_setfileinfo_rename: map DELETE_PENDING to ACCESS_DENIEDStefan Metzmacher1-0/+3
This is needed as odb_can_open/pvfs_can_delete changed the return value. metze (This used to be commit 1ba0b9a8f1f84c7c949b3d184843462b87446707)
2008-02-26opendb_tdb: only file->delete_on_close == true should give DELETE_PENDINGStefan Metzmacher1-2/+5
metze (This used to be commit 5b12157e0f0f1cf6ea90503a72b56ab2032cb6e5)
2008-02-26opendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()Stefan Metzmacher1-89/+102
metze (This used to be commit 65cfe71b2617598f8e38d04537cfc9ce44a36680)
2008-02-26opendb_tdb: add force break to none logicStefan Metzmacher1-2/+7
metze (This used to be commit fbfe953ba347a902297bd8eae900ca70efd2db01)
2008-02-26opendb_tdb: attribute only opens doesn't conflict with BATCH oplocksStefan Metzmacher1-2/+35
metze (This used to be commit 7872b05abe7532676c4cc25620b96ea5d59117d2)
2008-02-26opendb_tdb: grant level2 oplocksStefan Metzmacher1-9/+23
metze (This used to be commit 57f1b9d11cfcac3b5fdee1ad9e4ba81d0859c8dc)
2008-02-26opendb: add odb_break_oplocks() functionStefan Metzmacher3-1/+45
This send breaks to none to all level2 holders metze (This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)
2008-02-25opendb: add odb_update_oplock() callStefan Metzmacher3-2/+51
metze (This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
2008-02-25opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAKStefan Metzmacher2-5/+27
metze (This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
2008-02-25opendb: add odb_get_key() function to get the key back from a struct odb_lockStefan Metzmacher3-0/+12
metze (This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
2008-02-25pvfs_unlink: move stream logic into pvfs_unlink_one()Stefan Metzmacher1-34/+8
metze (This used to be commit 438032e12f3040fbb58488ca537e4d8da39b6124)
2008-02-25pvfs_unlink: splitup the logic into generic and file specific functionsStefan Metzmacher1-17/+28
metze (This used to be commit 7572afdc2635bdf9afbe1eda3c7498d0b5201db3)
2008-02-25pvfs_unlink: add a fast path for the non wildcard caseStefan Metzmacher1-0/+4
metze (This used to be commit 83e6c99f78990b6b1df520bdee14b9f931ad0420)
2008-02-25pvfs_unlink: move !name->stream_exists into the callerStefan Metzmacher1-4/+4
metze (This used to be commit e01554e1617dc3c08a4ed6b4e016fd627f529ef9)
2008-02-25pvfs_unlink: pass down union smb_unlink completely to sub functionsStefan Metzmacher1-8/+10
metze (This used to be commit 8301189e94be850494482e8c064b2400a5d11157)
2008-02-25pvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()Stefan Metzmacher1-16/+14
metze (This used to be commit 43ec7fa2d898ce306557ea9092b6412bcc2f97ec)
2008-02-25pvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()Stefan Metzmacher1-4/+12
And also handle NULL for lckp in the error path without crashing. metze (This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)
2008-02-25pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in ↵Stefan Metzmacher1-2/+26
pvfs_can_delete/rename() If the caller asks for the odb_lock return it also if we return NT_STATUS_SHARING_VIOLATION or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller can add the pending notification. metze (This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)
2008-02-25pvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the callerStefan Metzmacher3-12/+9
metze (This used to be commit e585e2306334bd919f567f53d8d08903dfdfb102)
2008-02-25pvfs_wait: use struct pvfs_wait * instead of void *Stefan Metzmacher5-11/+15
metze (This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
2008-02-25pvfs_wait: 'private' -> 'private_data' and use talloc_get_type()Stefan Metzmacher1-11/+16
metze (This used to be commit 16a7d0cc37614fc41245fdcdf3b5a4a4a421f31d)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-1/+5
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij2-8/+11
(This used to be commit 230355d2e6e27918dff40823eb238904c7a1870e)
2008-02-18Rename include to mkinclude to emphasize it is different from make's include.Jelmer Vernooij1-4/+4
(This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
2008-02-18Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'Jelmer Vernooij1-1/+1
(This used to be commit 269cbf84d8b7dbf3bc88adc04ae283dc908af5ac)
2008-02-14A better way to handle the different format of RenameInformation in SMB2Andrew Tridgell1-0/+3
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2 and set that level when handling SMB2 packets. This makes the parsers clearer. (This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)
2008-02-14we need to refuse a root_fid in rename on SMB but not SMB2Andrew Tridgell1-3/+5
(This used to be commit 9a139c35b7f1326616d26ce13bbdc7d6b22cd9b5)
2008-02-14Fixed SMB2 rename operations from Vista clientsAndrew Tridgell1-13/+24
We needed a flag in bufinfo to mark packets as SMB2, as it seems that SMB2 uses a different format for the RenameInformation buffer than SMB does Also handle the fact that SMB2 clients give the full path to the target file in the rename, not a relative path (This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
2008-02-13missed another spot in the SMB2 create conversionAndrew Tridgell1-6/+6
(This used to be commit df82b0aa6990b59cde20893cb690a8a260526178)
2008-02-13updated SMB2 create operation to match WSPP.Andrew Tridgell1-2/+2
Adding some defined for various new create options (This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
2008-02-13Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-4/+16
(This used to be commit 11102681bcd70b0abb2df38bcdc7fdec51e71600)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell1-3/+5
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12Fix open file tracking in vfs_cifs so that oplock breaks can propagateAmin Azez1-4/+16
Oplock breaks were not propagating because the list of open files was not being maintained. This fixes that based on best-guess of how it should work. It has been tested manually with windows XP client obtaining an oplock from a windows 2003 server, which then broke the lock when smbclient read the same file. Previously the smbclient read blocked until the oplock timed out (This used to be commit 1a53aeff9a9e8fe83fde5a617463a5b363c45313)
2008-01-21build: Demote a bunch of libraries to subsystems. This makes packaging ↵Jelmer Vernooij1-4/+1
easier and should also make it easier to migrate to a new build system. (This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
2008-01-05r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij4-18/+20
(This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
2008-01-05r26670: Janitorial: Remove global_loadparm uses.Jelmer Vernooij1-2/+2
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-7/+1
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij1-0/+1
The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
2008-01-02r26646: libcli/smb_composite: Allow specifying SMB parameters in ↵Jelmer Vernooij1-0/+6
smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections. (This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)