Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24bbb9
)
Fix some minor llite bugs. Should fix fsx problems.
author
adilger
<adilger>
Sat, 8 Jun 2002 00:44:02 +0000
(
00:44
+0000)
committer
adilger
<adilger>
Sat, 8 Jun 2002 00:44:02 +0000
(
00:44
+0000)
lustre/llite/file.c
patch
|
blob
|
history
lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
4fc5c81
..
e2e29f8
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-117,7
+117,7
@@
static int ll_file_release(struct inode *inode, struct file *file)
GOTO(out_fd, abs(rc));
}
- if (file->f_flags &
O_WRONLY
) {
+ if (file->f_flags &
FMODE_WRITE
) {
struct iattr attr;
attr.ia_valid = ATTR_MTIME | ATTR_CTIME | ATTR_ATIME | ATTR_SIZE;
attr.ia_mtime = inode->i_mtime;
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
a350ffd
..
d0e1ba3
100644
(file)
--- a/
lustre/llite/rw.c
+++ b/
lustre/llite/rw.c
@@
-259,8
+259,6
@@
static int ll_writepage(struct page *page)
int err;
ENTRY;
- LBUG();
-
if (!PageLocked(page))
LBUG();