X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Flocks.c;h=0204acb9f0db58970aa44434a7924c88235b72e5;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=fbd048304e4ea9799a9ef802f02fbf7252b747ea;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/locks.c b/fs/locks.c index fbd048304..0204acb9f 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -60,7 +60,7 @@ * * Initial implementation of mandatory locks. SunOS turned out to be * a rotten model, so I implemented the "obvious" semantics. - * See 'linux/Documentation/mandatory.txt' for details. + * See 'Documentation/mandatory.txt' for details. * Andy Walker (andy@lysaker.kvaerner.no), April 06, 1996. * * Don't allow mandatory locks on mmap()'ed files. Added simple functions to @@ -177,7 +177,7 @@ void locks_init_lock(struct file_lock *fl) init_waitqueue_head(&fl->fl_wait); fl->fl_next = NULL; fl->fl_fasync = NULL; - fl->fl_owner = 0; + fl->fl_owner = NULL; fl->fl_pid = 0; fl->fl_file = NULL; fl->fl_flags = 0;