Skip to content
Snippets Groups Projects
Commit 63fe853b authored by Andrew Perepechko's avatar Andrew Perepechko
Browse files

branch b1_6

b=14010
i=shadow
i=green

update WRITE to OBD_BRW_WRITE
parent dfcdfbf7
No related branches found
No related tags found
No related merge requests found
...@@ -1169,7 +1169,7 @@ static int ll_file_get_tree_lock_iov(struct ll_lock_tree *tree, ...@@ -1169,7 +1169,7 @@ static int ll_file_get_tree_lock_iov(struct ll_lock_tree *tree,
int rc; int rc;
struct inode * inode = file->f_dentry->d_inode; struct inode * inode = file->f_dentry->d_inode;
append = (rw == WRITE) && (file->f_flags & O_APPEND); append = (rw == OBD_BRW_WRITE) && (file->f_flags & O_APPEND);
if (append || !ll_is_file_contended(file)) { if (append || !ll_is_file_contended(file)) {
struct ll_lock_tree_node *node; struct ll_lock_tree_node *node;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment