Skip to content

Commit

Permalink
nfs: clean up PG_* flags
Browse files Browse the repository at this point in the history
Remove unused flags PG_NEED_COMMIT and PG_NEED_RESCHED.
Add comments describing how each flag is used.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
  • Loading branch information
Weston Andros Adamson authored and Trond Myklebust committed May 29, 2014
1 parent d201c4d commit 12c0579
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions include/linux/nfs_page.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@
* Valid flags for a dirty buffer
*/
enum {
PG_BUSY = 0,
PG_MAPPED,
PG_CLEAN,
PG_NEED_COMMIT,
PG_NEED_RESCHED,
PG_COMMIT_TO_DS,
PG_BUSY = 0, /* nfs_{un}lock_request */
PG_MAPPED, /* page private set for buffered io */
PG_CLEAN, /* write succeeded */
PG_COMMIT_TO_DS, /* used by pnfs layouts */
};

struct nfs_inode;
Expand Down

0 comments on commit 12c0579

Please sign in to comment.