diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-10-17 21:03:20 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-10-20 00:33:52 +0000 |
commit | 9a8165fce724d1aba21e2c713ac6ba11dbfecafa (patch) | |
tree | b3c359a5d0428f3fccf6da73a59210f6514f4c7c /fs/cifs/cifsfs.c | |
parent | dd1db2dedc4f6ad736fbba5aa6ecfe6e7c8ee0f4 (diff) | |
download | kernel-crypto-9a8165fce724d1aba21e2c713ac6ba11dbfecafa.tar.gz kernel-crypto-9a8165fce724d1aba21e2c713ac6ba11dbfecafa.tar.xz kernel-crypto-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/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 25ecbd5b040..c6aad775dd6 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -309,6 +309,7 @@ cifs_alloc_inode(struct super_block *sb) file data or metadata */ cifs_inode->clientCanCacheRead = false; cifs_inode->clientCanCacheAll = false; + cifs_inode->delete_pending = false; cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ /* Can not set i_flags here - they get immediately overwritten |