diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-05 09:37:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-06 10:18:37 +0200 |
commit | b5b943dbada86c839e6c575aed6842acd13e5446 (patch) | |
tree | 396dfdb7aff179fd5e187ebfe732b81a8aeea201 | |
parent | dc962c195e24a6323295a596fe864d3bc245b66b (diff) | |
download | samba-b5b943dbada86c839e6c575aed6842acd13e5446.tar.gz samba-b5b943dbada86c839e6c575aed6842acd13e5446.tar.bz2 samba-b5b943dbada86c839e6c575aed6842acd13e5446.zip |
s3:smbd: make use of change_notify_fsp_has_changes()
metze
-rw-r--r-- | source3/smbd/nttrans.c | 2 | ||||
-rw-r--r-- | source3/smbd/smb2_notify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 53e1713991..f7a27187e8 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -1743,7 +1743,7 @@ static void call_nt_transact_notify_change(connection_struct *conn, } } - if (fsp->notify->num_changes != 0) { + if (change_notify_fsp_has_changes(fsp)) { /* * We've got changes pending, respond immediately diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 3f5365c154..c0315b2948 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -270,7 +270,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx, } } - if (fsp->notify->num_changes != 0) { + if (change_notify_fsp_has_changes(fsp)) { /* * We've got changes pending, respond immediately |