diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-10-18 05:03:20 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-10-20 04:33:52 +0400 |
commit | 9a8165fce724d1aba21e2c713ac6ba11dbfecafa (patch) | |
tree | b3c359a5d0428f3fccf6da73a59210f6514f4c7c /fs/cifs/cifssmb.c | |
parent | dd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4 (diff) | |
download | linux-9a8165fce724d1aba21e2c713ac6ba11dbfecafa.tar.xz |
cifs: track DeletePending flag in cifsInodeInfo
cifs: track DeletePending flag in cifsInodeInfo
The QPathInfo call returns a flag that indicates whether DELETE_ON_CLOSE
is set. Track it in the cifsInodeInfo.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 6f4ffe15d68d..843a85fb8b9a 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -1309,6 +1309,7 @@ OldOpenRetry: cpu_to_le64(le32_to_cpu(pSMBr->EndOfFile)); pfile_info->EndOfFile = pfile_info->AllocationSize; pfile_info->NumberOfLinks = cpu_to_le32(1); + pfile_info->DeletePending = 0; } } @@ -1410,6 +1411,7 @@ openRetry: pfile_info->AllocationSize = pSMBr->AllocationSize; pfile_info->EndOfFile = pSMBr->EndOfFile; pfile_info->NumberOfLinks = cpu_to_le32(1); + pfile_info->DeletePending = 0; } } |