~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/nfsd/state.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
        struct list_head        fi_delegations;
368
368
        /* One each for O_RDONLY, O_WRONLY, O_RDWR: */
369
369
        struct file *           fi_fds[3];
370
 
        /* One each for O_RDONLY, O_WRONLY: */
371
 
        atomic_t                fi_access[2];
372
370
        /*
373
 
         * Each open stateid contributes 1 to either fi_readers or
374
 
         * fi_writers, or both, depending on the open mode.  A
375
 
         * delegation also takes an fi_readers reference.  Lock
376
 
         * stateid's take none.
 
371
         * Each open or lock stateid contributes 1 to either
 
372
         * fi_access[O_RDONLY], fi_access[O_WRONLY], or both, depending
 
373
         * on open or lock mode:
377
374
         */
378
 
        atomic_t                fi_readers;
379
 
        atomic_t                fi_writers;
 
375
        atomic_t                fi_access[2];
380
376
        struct file             *fi_deleg_file;
381
377
        struct file_lock        *fi_lease;
382
378
        atomic_t                fi_delegees;