Home
last modified time | relevance | path

Searched refs:NFSD_MAY_WRITE (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/fs/nfsd/
Dvfs.h15 #define NFSD_MAY_WRITE 2 /* == MAY_WRITE */ macro
25 #define NFSD_MAY_CREATE (NFSD_MAY_EXEC|NFSD_MAY_WRITE)
26 #define NFSD_MAY_REMOVE (NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC)
Dvfs.c317 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr()
611 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_TRUNC },
612 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE },
620 { NFS3_ACCESS_MODIFY, NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC},
621 { NFS3_ACCESS_EXTEND, NFSD_MAY_EXEC|NFSD_MAY_WRITE },
637 { NFS3_ACCESS_MODIFY, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS },
638 { NFS3_ACCESS_EXTEND, NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS },
737 if (IS_APPEND(inode) && (access & NFSD_MAY_WRITE)) in nfsd_open()
755 host_err = break_lease(inode, O_NONBLOCK | ((access & NFSD_MAY_WRITE) ? O_WRONLY : 0)); in nfsd_open()
759 if (access & NFSD_MAY_WRITE) { in nfsd_open()
[all …]
Dnfs4proc.c162 accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC); in do_open_permission()
164 accmode |= NFSD_MAY_WRITE; in do_open_permission()
Dnfsproc.c271 NFSD_MAY_WRITE|NFSD_MAY_LOCAL_ACCESS); in nfsd_proc_create()
Dnfs4state.c2531 flags |= NFSD_MAY_WRITE; in nfs4_access_to_access()