summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-10-17 21:03:20 -0400
committerSteve French <sfrench@us.ibm.com>2008-10-20 00:33:52 +0000
commit9a8165fce724d1aba21e2c713ac6ba11dbfecafa (patch)
treeb3c359a5d0428f3fccf6da73a59210f6514f4c7c /fs/cifs/cifsglob.h
parentdd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4 (diff)
downloadblackbird-obmc-linux-9a8165fce724d1aba21e2c713ac6ba11dbfecafa.tar.gz
blackbird-obmc-linux-9a8165fce724d1aba21e2c713ac6ba11dbfecafa.zip
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/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 0d22479d99b7..178f733a368f 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -353,6 +353,7 @@ struct cifsInodeInfo {
bool clientCanCacheRead:1; /* read oplock */
bool clientCanCacheAll:1; /* read and writebehind oplock */
bool oplockPending:1;
+ bool delete_pending:1; /* DELETE_ON_CLOSE is set */
struct inode vfs_inode;
};
OpenPOWER on IntegriCloud